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

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