i am trying to do mvn tomcat:deploy and i came across with the error
[ERROR] Failed to execute goal org.codehaus.mojo:tomcat-maven-plugin:1
In my case solution worked. I did one petty mistake of not starting Apache Tomcat Server.
Apart from this, make user that you do appropriate entry in maven/conf/setting.xml within tag:-
TomcatServer
admin
password
In Apache Tomcat 7 tomcat-users.xml, following line should be added within
In Pom.xml
org.apache.tomcat.maven
tomcat7-maven-plugin
2.2
http://localhost:8888/manager/text
TomcatServer
$ReplaceWithWarFileName$
true
admin
password