maven用tomcat插件启动项目报错。求大神帮助,万分感谢

[INFO] shop-manager ....................................... SUCCESS [ 3.203 s]
[INFO] shop-manager-pojo .................................. SUCCESS [ 1.773 s]
[INFO] shop-manager-dao ................................... SUCCESS [ 0.487 s]
[INFO] shop-manager-interface ............................. SUCCESS [ 0.260 s]
[INFO] shop-manager-service ............................... SUCCESS [ 0.598 s]
[INFO] shop-manager-web ................................... FAILURE [ 3.348 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.472 s
[INFO] Finished at: 2017-07-19T13:22:57+08:00
[INFO] Final Memory: 16M/124M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run (default-cli) on project shop-manager-web: Could not start Tomcat: Failed to start component [StandardServer[-1]]: Failed to start component [StandardService[Tomcat]]: Failed to start component [StandardEngine[Tomcat]]: A child container failed during start -> [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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :shop-manager-web

图片说明

4个回答

tomcat7插件没有配对吗?检查一下。

这个可以忽略吧! 刚导入的项目估计是 jdk 不对吧看项目jdk跟你用的jdk一样吗

图片说明

把eclipse关了重启就行了。

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐