我是靠谱客的博主 知性草丛,这篇文章主要介绍启动子容器失败:A child container failed during start,现在分享给大家,希望可以做个参考。

从经理给你项目让你跑,第一反应是命令:tomcat7:run,会出现结果:

[ERROR] No plugin found for prefix 'tomcat7' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (D:repo), alimaven (http://maven.aliyun.com/nexus/content/groups/public/)] -> [Help 1]

[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException


然后你就认为是因为pom.xml中没有tomcat插件,所以你去下载了并添加了依赖,再次运行就是:A child container failed during start,或是jar包找不到的异常


如果出现以上情况,我的建议,我最后的正确结果,分析就不分析为什么这样了


直接在servers中启动服务,你就会发现没问题了



然后就是访问路径了,不知道就找别人要,要不就是在这:





最后

以上就是知性草丛最近收集整理的关于启动子容器失败:A child container failed during start的全部内容,更多相关启动子容器失败:A内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(115)

评论列表共有 0 条评论

立即
投稿
返回
顶部