没有合适的资源?快使用搜索试试~ 我知道了~
maven出现:Failed to execute goal on project …: Could not resolve d...
1星 59 下载量 168 浏览量
2021-01-20
12:19:42
上传
评论
收藏 120KB PDF 举报
温馨提示
试读
1页
[INFO] ———————————————————————— [INFO] Reactor Summary for demo 0.0.1-SNAPSHOT: [INFO] [INFO] demo ……………………………………….. FAILURE [18:18 min] [INFO] admin-service ……………………………….. SKIPPED [INFO] user-service ………………………………… SKIPPED [INFO] myweb ………………………………………. SKIPPED [INFO] ———————————————————————— [INFO]
资源推荐
资源详情
资源评论
maven出现:出现:Failed to execute goal on project …: Could not resolve
dependencies for project …
[INFO] ————————————————————————
[INFO] Reactor Summary for demo 0.0.1-SNAPSHOT:
[INFO] [INFO] demo ……………………………………….. FAILURE [18:18 min] [INFO] admin-service ……………………………….. SKIPPED
[INFO] user-service ………………………………… SKIPPED
[INFO] myweb ………………………………………. SKIPPED
[INFO] ————————————————————————
[INFO] BUILD FAILURE
[INFO] ————————————————————————
[INFO] Total time: 18:22 min
[INFO] Finished at: 2020-02-15T16:38:31+08:00
[INFO] ————————————————————————
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.2.4.RELEASE:repackage (repackage) on project demo: Execution repackage of
goal org.springframework.boot:spring-boot-m
aven-plugin:2.2.4.RELEASE:repackage failed: Plugin org.springframework.boot:spring-boot-maven-plugin:2.2.4.RELEASE or one of its dependencies could not be
resolved: Could not find artifact org.eclipse
.sisu:org.eclipse.sisu.inject:jar:0.3.2 in nexus-releases (http://localhost:8081/nexus/content/groups/public/) -> [Help 1] [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/PluginResolutionException
[ERROR] Failed to execute goal on project admin-service: Could not resolve dependencies for project com.rock:admin-service:jar:0.0.1-SNAPSHOT: Failure to find
org.assertj:assertj-core:jar:3.13.2 in ht
tp://localhost:8081/nexus/content/repositories/central/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus-mirror has
elapsed or updates are forc
ed -> [Help 1] [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/DependencyResolutionException
[ERROR] [ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :admin-service
pom.xml中的中的version版本没有及时更新,比如,版本没有及时更新,比如,A依赖依赖B,A的的pom.xml中依赖着中依赖着B的的1.0.1,但,但B已经升级到了已经升级到了1.0.2了,这时候可能了,这时候可能B中有很多新东西,如果版本不及时更中有很多新东西,如果版本不及时更
新,有些依赖资源就会找不到。新,有些依赖资源就会找不到。
下面是下面是idea中,设置中,设置setting.xml的方法,路径需要自己更改一下。的方法,路径需要自己更改一下。
作者:lifeifei2010
资源评论
- qq_394113712022-10-24下面类容呢 #毫无价值
weixin_38744778
- 粉丝: 7
- 资源: 917
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功