原文:Maven报错Failed to collect dependencies at com.***:***:jar:1.0.0

问题 mvn install后报错,使用mvn X install使用debug模式查看,显示如下信息,意思是这个jar包的依赖包下载不到。 解决办法 添加仓库即可,可以去setting中添加mirror或profile下的repository,同时需要用activeProfiles激活profile。 去maven的setting中修改mirrors 用profile,同时需要密码的记得配置se ...

2020-03-12 12:57 0 4998 推荐指数:

查看详情

maven依赖出现问题:failed to collect dependencies

问题:在maven项目中,install dao层之后,在interface调用显示failed to collect dependencies; 解决办法: 1.检查依赖信息是否正确,不确定删除后重新引入。 2.从parent开始先install 再install dao,在install ...

Sat Mar 02 05:43:00 CST 2019 0 3116
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM