报错信息
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.345 s
[INFO] Finished at: 2018-08-28T14:08:53+08:00
[INFO] Final Memory: 18M/207M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run (default-cli) on project e3-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.
上网查了一下发现是:找不到Tomcat,打开Tomcat失败。是因为pom.xml内配置的Tomcat插件运行报错了
是因为JDK的原因:可能是版本,可能是你配置的路径不对
我的问题:是当初安装JDK时将idk包和jre两个包分开了配置java 环境的时候只配置了jdk 。。。插件找不到jre所以报错了
解决办法:将JDK卸载重装,重新配置环境