关于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包,把中央仓库换成默认的下载即可


最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容