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

[ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-web:jar is missing. @ line 26, column 21
[ERROR] 'dependencies.dependency.version' for org.projectlombok:lombok:jar is missing. @ line 40, column 21
[ERROR] 'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-data-redis:jar is missing. @ line 57, column 21
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.example:common:1.0-SNAPSHOT (D:\ideadata\acl_parent\common\pom.xml) has 3 errors
[ERROR]     'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-web:jar is missing. @ line 26, column 21
[ERROR]     'dependencies.dependency.version' for org.projectlombok:lombok:jar is missing. @ line 40, column 21
[ERROR]     'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-data-redis:jar is missing. @ line 57, 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] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

这个在子工程里面,maven中版本没有指定版本,但是写的是provided

由于父工程没有相关依赖,就会报错

直接指定版本就不会报错了

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

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


 

你可能感兴趣的:(头疼报错的日常,java,maven)