Tomcat 7: Connection reset by peer or Software caused connection abort

前端 未结 5 1841
梦如初夏
梦如初夏 2020-12-10 12:30

I have a problem when I\'m trying to deploy Java-application.

Cannot invoke Tomcat manager: Connection reset by peer: socket write error
<
5条回答
  •  南方客
    南方客 (楼主)
    2020-12-10 13:20

            
                
                org.codehaus.mojo
                tomcat-maven-plugin
                
                    http://localhost:8080/manager/text
                    TomcatServer
                    XXXX
                    XXXX
                    /XXXX
                
            
    

    This works for me :)

    Environment -> Windowd 8.1 + Maven 3 + Tomcat 8.1.15 + JDK 1.8 Also, I had to use tomcat:redeploy

    ALso, update your maven settings via -> Preferences->Maven->User Settings to point to your maven settings.xml file. Add the values of the server in the maven settings.xml ( servers section and add the tomcat server details there). Use that here( for me the id is TomcatServer )

    Some of the steps were taken from here:- http://kosalads.blogspot.de/2014/03/maven-deploy-war-in-tomcat-7.html

提交回复
热议问题