关于maven+SSM的一个错误解决Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run

错误代码:

[ERROR] Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run (default-cli) on project cct-manager: Execution default-cli of goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run failed: Plugin org.apache.tomcat.maven:tomcat7-maven-plugin:2.2 or one of its dependencies could not be resolved: Failed to collect dependencies at org.apache.tomcat.maven:tomcat7-maven-plugin:jar:2.2 -> org.apache.tomcat.maven:common-tomcat-maven-plugin:jar:2.2 -> org.codehaus.plexus:plexus-component-annotations:jar:1.5.5: Failed to read artifact descriptor for org.codehaus.plexus:plexus-component-annotations:jar:1.5.5: Failure to find org.codehaus.plexus:plexus-containers:pom:1.5.5 in

http://maven.aliyun.com/nexus/content/groups/public/

was cached in the local repository, resolution will not be reattempted until the update interval of alimaven has elapsed or updates are forced -> [Help 1]

解决:

该问题的原因是阿里中央仓库中没有所需要的jar包,把中央仓库换成默认的下载即可


关于maven+SSM的一个错误解决Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run_第1张图片

你可能感兴趣的:(关于maven+SSM的一个错误解决Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run)