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

原文地址:https://www.cnblogs.com/mengY/p/5889454.html