概述
从经理给你项目让你跑,第一反应是命令: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 child container failed during start所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复