maven構建項目時,出現aspectj-maven-plugin 無法構建的問題


[ERROR] Plugin org.codehaus.mojo:aspectj-maven-plugin:1.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.codehaus.mojo:aspectj-maven-plugin:jar:1.4: Could not transfer artifact org.codehaus.mojo:aspectj-maven-plugin:pom:1.4 from/to central (https://repo.maven.apache.org/maven2): connect timed out -> [Help 1]

一直報這個錯,maven打包一直失敗,百度搜不到,用bing找到是eclipse少AJDT插件

 

 

解決辦法:
給eclipse安裝AspectJ Maven configurator:
http://dist.springsource.org/release/AJDT/configurator/
Help -> Install new software...

轉自:http://www.cnblogs.com/popoy/p/3465313.html


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM