接着之前的那个问题

Blade 未结 1 2740
javahuan
javahuan 剑圣 2020-12-20 15:21

我maven bladex报如下错误
image.png

[INFO] Scanning for projects...

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

[ERROR] Non-resolvable import POM: Failure to find org.springblade.platform:blade-bom:pom:2.7.0.RELEASE in http://maven.aliyun.com/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus-aliyun has elapsed or updates are forced @ line 46, column 25

 @ 

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

[ERROR]   

[ERROR]   The project org.springblade:BladeX:2.7.0.RELEASE (D:\lcsysdb2\bladex\pom.xml) has 1 error

[ERROR]     Non-resolvable import POM: Failure to find org.springblade.platform:blade-bom:pom:2.7.0.RELEASE in http://maven.aliyun.com/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus-aliyun has elapsed or updates are forced @ line 46, column 25 -> [Help 2]

[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



maven bladex-common 报如下错误
image.png

[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-common:${bladex.project.version}, D:\lcsysdb2\bladex\blade-common\pom.xml, line 14, column 14

[ERROR] Non-resolvable import POM: Failure to find org.springblade.platform:blade-bom:pom:2.7.0.RELEASE in http://maven.aliyun.com/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus-aliyun has elapsed or updates are forced @ org.springblade:BladeX:2.7.0.RELEASE, D:\lcsysdb2\bladex\pom.xml, line 46, column 25

[ERROR] 'dependencies.dependency.version' for org.springblade:blade-core-launch:jar is missing. @ org.springblade:blade-common:${bladex.project.version}, D:\lcsysdb2\bladex\blade-common\pom.xml, line 18, column 21

[ERROR] 'dependencies.dependency.version' for org.springblade:blade-core-auto:jar is missing. @ org.springblade:blade-common:${bladex.project.version}, D:\lcsysdb2\bladex\blade-common\pom.xml, line 22, column 21

 @ 

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

[ERROR]   

[ERROR]   The project org.springblade:blade-common:2.7.0.RELEASE (D:\lcsysdb2\bladex\blade-common\pom.xml) has 3 errors

[ERROR]     Non-resolvable import POM: Failure to find org.springblade.platform:blade-bom:pom:2.7.0.RELEASE in http://maven.aliyun.com/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus-aliyun has elapsed or updates are forced @ org.springblade:BladeX:2.7.0.RELEASE, D:\lcsysdb2\bladex\pom.xml, line 46, column 25 -> [Help 2]

[ERROR]     'dependencies.dependency.version' for org.springblade:blade-core-launch:jar is missing. @ org.springblade:blade-common:${bladex.project.version}, D:\lcsysdb2\bladex\blade-common\pom.xml, line 18, column 21

[ERROR]     'dependencies.dependency.version' for org.springblade:blade-core-auto:jar is missing. @ org.springblade:blade-common:${bladex.project.version}, D:\lcsysdb2\bladex\blade-common\pom.xml, line 22, 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

我是在本地电脑上面跑的,当然本地电脑也是连接外网的

我本地是第一次跑bladex项目,所以不会有缓存

1条回答
  • 2020-12-22 11:55

    这个就是nexus私服配置的问题,大多是本地maven配置有问题导致的错

    应该从bladex的私服下载,但现在错误显示是从阿里云下载的,所以下载不到导致的错。

    再跟着这个帖子仔细做一遍:https://sns.bladex.cn/q-762.html,大家都是可以的 

    0 讨论(0)
提交回复