部署maven项目时Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:deploy

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  14.031 s
[INFO] Finished at: 2019-10-08T20:29:52+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:deploy (default-cli) on project ssm_2: Cannot invoke Tomcat manager: Connection reset by peer: socket write error -> [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

出现这个问题可以用tomcat7:redeploy来重新部署即可。

你可能感兴趣的:(部署maven项目时Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:deploy)