Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.2
-
None
-
None
-
Windows 8.1, Java 1.7.0_51 and Maven 3.2.1
Description
The plugin works perfectly running Tomcat with my project web application.
I do "mvn tomcat7:run" and the server is started, the webapp is deployed and I can browse to it.
If I add the <fork /> attribute, though, the server crashes.
Here's (a portion of) my pom:
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
<address>localhost</address>
<port>8080</port>
<path>/</path>
<uriEncoding>UTF-8</uriEncoding>
</configuration>
</plugin>
(I'll add the stacktrace later)