[ERROR] Some problems were encountered while processing the POMs: [ERROR] 'dependencies.dependency.v

java打包时javax.persistence报了个错误

[ERROR] Some problems were encountered while processing the POMs: [ERROR] 'dependencies.dependency.v_第1张图片

[INFO] Scanning for projects…
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] ‘dependencies.dependency.version’ for javax.persistence:persistence-api:jar is missing. @ line 48, column 21
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com:webwork:0.0.1-SNAPSHOT (D:\学习软件\idea\IDEA项目库\Mysql\pom.xml) has 1 error
[ERROR] ‘dependencies.dependency.version’ for javax.persistence:persistence-api:jar is missing. @ line 48, column 21
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] Some problems were encountered while processing the POMs: [ERROR] 'dependencies.dependency.v_第2张图片

解决办法
[ERROR] Some problems were encountered while processing the POMs: [ERROR] 'dependencies.dependency.v_第3张图片
加个 version

你可能感兴趣的:(springboot,jpa)