I use the Maven with Eclipse. Is possible build the project and then deploy built WAR file to Tomcat server?
I use Windows. I can build WAR
file, and al
Meanwhile I resolved it. There were a few issues.
Firstly I set Goal in the Eclipse run configuration to tomcat:deploy
.
And I changed pom.xml
following
org.codehaus.mojo
tomcat-maven-plugin
http://localhost:8080/manager/text
Apache_Tomcat_7_x86
/HelloWorld
URL in configuration depends on Tomcat version. For me works text
, for others works html
on end of URL. And of course, in tomcat-users.xml
must be set role manager-script
or manager-gui
.
Maybe it helps to others.