命令maven tomcat7:deploy,部署第一次成功,然后就一直失败,提示war包上传不了。
[INFO] I/O exception (java.net.SocketException) caught when processing request: Connection reset
[INFO] Retrying request
Uploading: http://localhost:8080/manager/text/deploy?path=%2iplover
[INFO] I/O exception (java.net.SocketException) caught when processing request: Connection reset
[INFO] Retrying request
Uploading: http://localhost:8080/manager/text/deploy?path=%2iplover
[INFO] I/O exception (java.net.SocketException) caught when processing request: Connection reset
[INFO] Retrying request
Uploading: http://localhost:8080/manager/text/deploy?path=%2iplover
解决方案是把命令改成
clean tomcat7:redeployhttps://stackoverflow.com/questions/25336099/error-when-i-try-deploy-application-to-tomcat7-server