美文网首页maven程序员我爱编程
关于maven+SSM的一个错误解决Failed to exec

关于maven+SSM的一个错误解决Failed to exec

作者: 懒小松 | 来源:发表于2017-11-15 11:41 被阅读94次

错误代码:

[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 exec

    本文链接:https://www.haomeiwen.com/subject/lmxcvxtx.html