Tomcat 7: Connection reset by peer or Software caused connection abort
<plugin> <!-- tomcat deploy plugin --> <groupId>org.codehaus.mojo</groupId> <artifactId>tomcat-maven-plugin</artifactId> <configuration> <url>http://localhost:8080/manager/text</url> <server>TomcatServer</server> <username>XXXX</username> <password>XXXX</password> <path>/XXXX</path> </configuration> </plugin>
This works for me :)
Environment -> Windowd 8.1 + Maven 3 + Tomcat 8.1.15 + JDK 1.8Also, 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