eclipse 导入项目 build 出错

Java 未结 1 1476
@奶瓶
@奶瓶 剑童 2020-04-01 11:49
悬赏:10

[INFO] Scanning for projects...

[ERROR] [ERROR] Some problems were encountered while processing the POMs:

[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-auth:${bladex.project.version}, D:\eclipsex-workspace\blade-workspace\BladeX\blade-auth\pom.xml, line 16, column 14

[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-gateway:${bladex.project.version}, D:\eclipsex-workspace\blade-workspace\BladeX\blade-gateway\pom.xml, line 14, column 14

[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.springframework.cloud:spring-cloud-netflix-hystrix:jar -> duplicate declaration of version 2.1.4.RELEASE @ org.springblade:blade-gateway:${bladex.project.version}, D:\eclipsex-workspace\blade-workspace\BladeX\blade-gateway\pom.xml, line 109, column 21

[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-admin:${bladex.project.version}, D:\eclipsex-workspace\blade-workspace\BladeX\blade-ops\blade-admin\pom.xml, line 14, column 14

[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-develop:${bladex.project.version}, D:\eclipsex-workspace\blade-workspace\BladeX\blade-ops\blade-develop\pom.xml, line 16, column 14

[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-flow:${bladex.project.version}, D:\eclipsex-workspace\blade-workspace\BladeX\blade-ops\blade-flow\pom.xml, line 14, column 14

[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-flow-design:${bladex.project.version}, D:\eclipsex-workspace\blade-workspace\BladeX\blade-ops\blade-flow-design\pom.xml, line 14, column 14

[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-log:${bladex.project.version}, D:\eclipsex-workspace\blade-workspace\BladeX\blade-ops\blade-log\pom.xml, line 14, column 14

[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-resource:${bladex.project.version}, D:\eclipsex-workspace\blade-workspace\BladeX\blade-ops\blade-resource\pom.xml, line 14, column 14

[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-turbine:${bladex.project.version}, D:\eclipsex-workspace\blade-workspace\BladeX\blade-ops\blade-turbine\pom.xml, line 14, column 14

[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-zipkin:${bladex.project.version}, D:\eclipsex-workspace\blade-workspace\BladeX\blade-ops\blade-zipkin\pom.xml, line 14, column 14

[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: io.zipkin.java:zipkin-server:jar -> duplicate declaration of version 2.12.3 @ org.springblade:blade-zipkin:${bladex.project.version}, D:\eclipsex-workspace\blade-workspace\BladeX\blade-ops\blade-zipkin\pom.xml, line 57, column 21

[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: io.zipkin.java:zipkin-server:jar -> duplicate declaration of version 2.12.3 @ org.springblade:blade-zipkin:${bladex.project.version}, D:\eclipsex-workspace\blade-workspace\BladeX\blade-ops\blade-zipkin\pom.xml, line 62, column 21

[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: io.zipkin.java:zipkin-server:jar -> duplicate declaration of version 2.12.3 @ org.springblade:blade-zipkin:${bladex.project.version}, D:\eclipsex-workspace\blade-workspace\BladeX\blade-ops\blade-zipkin\pom.xml, line 67, column 21

[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-desk:${bladex.project.version}, D:\eclipsex-workspace\blade-workspace\BladeX\blade-service\blade-desk\pom.xml, line 16, column 14

[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-system:${bladex.project.version}, D:\eclipsex-workspace\blade-workspace\BladeX\blade-service\blade-system\pom.xml, line 14, column 14

[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-user:${bladex.project.version}, D:\eclipsex-workspace\blade-workspace\BladeX\blade-service\blade-user\pom.xml, line 15, column 14

[WARNING] 'version' contains an expression but should be a constant. @ line 13, column 12

[ERROR] Unknown packaging: ${blade.project.version} @ line 14, column 14

[ERROR] Non-resolvable import POM: Failure to find org.springblade.platform:blade-bom:pom:${blade.project.version} in http://nexus.bladex.cn/repository/maven-releases/ was cached in the local repository, resolution will not be reattempted until the update interval of blade-release has elapsed or updates are forced @ org.springblade:BladeX:2.2.2.RELEASE, D:\eclipsex-workspace\blade-workspace\BladeX\pom.xml, line 64, column 25

[ERROR] 'dependencies.dependency.version' for org.springblade:blade-common:jar must be a valid version but is '${blade.project.version}'. @ org.springblade:BladeX:2.2.2.RELEASE, D:\eclipsex-workspace\blade-workspace\BladeX\pom.xml, line 74, column 26

[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-tenant:jar is missing. @ org.springblade:blade-service:2.2.2.RELEASE, D:\eclipsex-workspace\blade-workspace\BladeX\blade-service\pom.xml, line 30, column 21

[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-desk-api:${bladex.project.version}, D:\eclipsex-workspace\blade-workspace\BladeX\blade-service-api\blade-desk-api\pom.xml, line 14, column 14

[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-dict-api:${bladex.project.version}, D:\eclipsex-workspace\blade-workspace\BladeX\blade-service-api\blade-dict-api\pom.xml, line 14, column 14

[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-scope-api:${bladex.project.version}, D:\eclipsex-workspace\blade-workspace\BladeX\blade-service-api\blade-scope-api\pom.xml, line 14, column 14

[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-system-api:${bladex.project.version}, D:\eclipsex-workspace\blade-workspace\BladeX\blade-service-api\blade-system-api\pom.xml, line 14, column 14

[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-user-api:${bladex.project.version}, D:\eclipsex-workspace\blade-workspace\BladeX\blade-service-api\blade-user-api\pom.xml, line 14, column 14

[WARNING] 'version' contains an expression but should be a constant. @ line 13, column 12

[ERROR] Unknown packaging: ${blade.project.version} @ line 14, column 14

[ERROR] Non-resolvable import POM: Failure to find org.springblade.platform:blade-bom:pom:${blade.project.version} in http://nexus.bladex.cn/repository/maven-releases/ was cached in the local repository, resolution will not be reattempted until the update interval of blade-release has elapsed or updates are forced @ org.springblade:BladeX:2.2.2.RELEASE, D:\eclipsex-workspace\blade-workspace\BladeX\pom.xml, line 64, column 25

[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-mybatis:jar is missing. @ org.springblade:blade-service-api:2.2.2.RELEASE, D:\eclipsex-workspace\blade-workspace\BladeX\blade-service-api\pom.xml, line 26, column 21

[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-tenant:jar is missing. @ org.springblade:blade-service-api:2.2.2.RELEASE, D:\eclipsex-workspace\blade-workspace\BladeX\blade-service-api\pom.xml, line 30, column 21

[ERROR] 'dependencies.dependency.version' for io.springfox:springfox-swagger2:jar is missing. @ org.springblade:blade-service-api:2.2.2.RELEASE, D:\eclipsex-workspace\blade-workspace\BladeX\blade-service-api\pom.xml, line 38, column 21

[ERROR] 'dependencies.dependency.version' for io.swagger:swagger-models:jar is missing. @ org.springblade:blade-service-api:2.2.2.RELEASE, D:\eclipsex-workspace\blade-workspace\BladeX\blade-service-api\pom.xml, line 48, column 21

[ERROR] 'dependencies.dependency.version' for org.springblade:blade-core-auto:jar is missing. @ org.springblade:blade-service-api:2.2.2.RELEASE, D:\eclipsex-workspace\blade-workspace\BladeX\blade-service-api\pom.xml, line 52, column 21

[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-common:${bladex.project.version}, D:\eclipsex-workspace\blade-workspace\BladeX\blade-common\pom.xml, line 14, column 14

[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.springblade:blade-core-launch:jar -> version (?) vs 2.5.2 @ org.springblade:blade-common:${bladex.project.version}, D:\eclipsex-workspace\blade-workspace\BladeX\blade-common\pom.xml, line 27, column 21

[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.springblade:blade-core-launch:jar -> version (?) vs 2.5.2 @ org.springblade:blade-common:${bladex.project.version}, D:\eclipsex-workspace\blade-workspace\BladeX\blade-common\pom.xml, line 32, column 21

[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.springblade:blade-core-launch:jar -> duplicate declaration of version (?) @ org.springblade:blade-common:${bladex.project.version}, D:\eclipsex-workspace\blade-workspace\BladeX\blade-common\pom.xml, line 37, column 21

[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-flow-api:${bladex.project.version}, D:\eclipsex-workspace\blade-workspace\BladeX\blade-ops-api\blade-flow-api\pom.xml, line 14, column 14

 @ 

[ERROR] The build could not read 2 projects -> [Help 1]

[ERROR]   

[ERROR]   The project org.springblade:blade-demo:${blade.project.version} (D:\eclipsex-workspace\blade-workspace\BladeX\blade-service\blade-demo\pom.xml) has 4 errors

[ERROR]     Unknown packaging: ${blade.project.version} @ line 14, column 14

[ERROR]     Non-resolvable import POM: Failure to find org.springblade.platform:blade-bom:pom:${blade.project.version} in http://nexus.bladex.cn/repository/maven-releases/ was cached in the local repository, resolution will not be reattempted until the update interval of blade-release has elapsed or updates are forced @ org.springblade:BladeX:2.2.2.RELEASE, D:\eclipsex-workspace\blade-workspace\BladeX\pom.xml, line 64, column 25 -> [Help 2]

[ERROR]     'dependencies.dependency.version' for org.springblade:blade-common:jar must be a valid version but is '${blade.project.version}'. @ org.springblade:BladeX:2.2.2.RELEASE, D:\eclipsex-workspace\blade-workspace\BladeX\pom.xml, line 74, column 26

[ERROR]     'dependencies.dependency.version' for org.springblade:blade-starter-tenant:jar is missing. @ org.springblade:blade-service:2.2.2.RELEASE, D:\eclipsex-workspace\blade-workspace\BladeX\blade-service\pom.xml, line 30, column 21

[ERROR]   

[ERROR]   The project org.springblade:blade-demo-api:${blade.project.version} (D:\eclipsex-workspace\blade-workspace\BladeX\blade-service-api\blade-demo-api\pom.xml) has 7 errors

[ERROR]     Unknown packaging: ${blade.project.version} @ line 14, column 14

[ERROR]     Non-resolvable import POM: Failure to find org.springblade.platform:blade-bom:pom:${blade.project.version} in http://nexus.bladex.cn/repository/maven-releases/ was cached in the local repository, resolution will not be reattempted until the update interval of blade-release has elapsed or updates are forced @ org.springblade:BladeX:2.2.2.RELEASE, D:\eclipsex-workspace\blade-workspace\BladeX\pom.xml, line 64, column 25 -> [Help 2]

[ERROR]     'dependencies.dependency.version' for org.springblade:blade-starter-mybatis:jar is missing. @ org.springblade:blade-service-api:2.2.2.RELEASE, D:\eclipsex-workspace\blade-workspace\BladeX\blade-service-api\pom.xml, line 26, column 21

[ERROR]     'dependencies.dependency.version' for org.springblade:blade-starter-tenant:jar is missing. @ org.springblade:blade-service-api:2.2.2.RELEASE, D:\eclipsex-workspace\blade-workspace\BladeX\blade-service-api\pom.xml, line 30, column 21

[ERROR]     'dependencies.dependency.version' for io.springfox:springfox-swagger2:jar is missing. @ org.springblade:blade-service-api:2.2.2.RELEASE, D:\eclipsex-workspace\blade-workspace\BladeX\blade-service-api\pom.xml, line 38, column 21

[ERROR]     'dependencies.dependency.version' for io.swagger:swagger-models:jar is missing. @ org.springblade:blade-service-api:2.2.2.RELEASE, D:\eclipsex-workspace\blade-workspace\BladeX\blade-service-api\pom.xml, line 48, column 21

[ERROR]     'dependencies.dependency.version' for org.springblade:blade-core-auto:jar is missing. @ org.springblade:blade-service-api:2.2.2.RELEASE, D:\eclipsex-workspace\blade-workspace\BladeX\blade-service-api\pom.xml, line 52, 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

[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException


1条回答
  • 你用的是BladeX,但是里面的version变量是blade.project.version,没有找到所以报错了

    BladeX内的变量是bladex.project.version

    0 讨论(0)
提交回复