您的位置:首页 > 大数据 > 人工智能

解决Failed to execute goal on project ***-***: Could not resolve dependencies for project com 问题

2018-01-12 18:05 1616 查看
maven build 的时候出现如下错误:

[ERROR] Failed to execute goal on project university-upms-server: Could not resolve dependencies for project com.university:university-upms-server:war:1.0.0: Failure to find com.university:university-admin:jar:1.0.0 in https://repo.maven.apache.org/maven2 was
cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]

直接将pom.xml 中报错dependency(里面为此项目war version)删掉,然后 执行mvn clean install

<dependency>
<groupId>com.university</groupId>
<artifactId>university-admin</artifactId>
<version>1.0.0</version>
</dependency>




ok如图, BUILD SUCCESS,希望可以帮到大家

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐