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

时间:2024-05-23 10:13:34

错误代码:

[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