Failure to find org.apache.maven.plugins:maven-war-plugin:jar:2.2

重新編譯工程的時候有如下錯誤:

Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.2 or one of its dependencies could not be resolved: Failure to find org.apache.maven.plugins:maven-war-plugin:jar:2.2 in http://192.168.199.178:8081/repository/maven-releases/ was cached in the local repository, resolution will not be reattempted until the update interval of releases has elapsed or updates are forced
Plugin org.apache.maven.plugins:maven-war-plugin:2.2 or one of its dependencies could not be resolved: Failure to find org.apache.maven.plugins:maven-war-plugin:jar:2.2 in http://192.168.199.178:8081/repository/maven-releases/ was cached in the local repository, resolution will not be reattempted until the update interval of releases has elapsed or updates are forced

解決方案:

將mavenFactory3\org\apache\maven\plugins\maven-war-plugin\2.2下帶有.lastUpdated的文件全部刪除,然後maven update

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章