Permalink
Browse files

use "tomcat7-maven-plugin" instead of "tomcat-maven-plugin"

in tomcat6, Matrix variable will fail, such as "/data/matrixvars;foo=bar/simple" will resolve to controller "/simple"
in tomcat6, Async Requests Tab will fail, throw a "java.lang.UnsupportedOperationException: No async support in a pre-Servlet 3.0 runtime"
  • Loading branch information...
1 parent 4ac74e1 commit e43d9727150ef428adeefb24693d35eafb066f90 @hechaoyi hechaoyi committed Dec 31, 2012
Showing with 4 additions and 4 deletions.
  1. +1 −1 README.md
  2. +3 −3 pom.xml
View
@@ -31,7 +31,7 @@ To run the application:
From the command line with Maven:
$ cd spring-mvc-showcase
- $ mvn tomcat:run
+ $ mvn tomcat7:run
or
View
@@ -274,9 +274,9 @@
</configuration>
</plugin>
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>tomcat-maven-plugin</artifactId>
- <version>1.1</version>
+ <groupId>org.apache.tomcat.maven</groupId>
+ <artifactId>tomcat7-maven-plugin</artifactId>
+ <version>2.0</version>
</plugin>
</plugins>
</build>

0 comments on commit e43d972

Please sign in to comment.