Cannot invoke Tomcat manager: socket write error

时间:2022-08-07 07:35:50

一开始, 参照 http://www.cnblogs.com/yezhenhan/archive/2012/07/17/2594684.html
mvn tomcat:redeploy
出现:
Cannot invoke Tomcat manager: Connection ...

改为 maven tomcat7, 还是不行:
mvn tomcat7:redeploy
https://my.oschina.net/jast90/blog/620104

mvn clean install / 重启 tomcat 了多次还是不行。 出现 Cannot invoke Tomcat manager: socket write error

不能是 http://localhost/manager
而必须是: http://localhost/manager/text
http://*.com/questions/15410914/tomcatdeploy-cannot-invoke-tomcat-manager-connection-refused

好像需要一个 update参数?
http://www.guanggua.com/question/26356477-tomcat-7-connection-reset-by-peer-or-software-caused-connection-abort.html
后面继续尝试, 重启tomcat, 再试, ok了!