Maven Tomcat deployment
Last Updated on Friday, 29 April 2011 17:16
|
Maven Tomcat deployment tutorial
The codehaus Maven tomcat plugin is a very clean and effective way to deploy on Tomcat. If you are looking for a mor advanced solution agnostic in the term of server your can use the Maven Cargo plugin
Requirements
| Element | Version |
|---|---|
| Maven | version 2 or late |
| JDK | 1.5 |
| Memory | no minimum requirement |
![]()
Include the following snippet in the <build><plugins> section of your project's pom.xml-file:

Troublehooting
403 Error with Tomcat 7
Tomcat Maven plugin version 1.1 doesn't support Tomcat 7. If your trying to use the tomcat-maven-plugin on Tomcat 7, you may get a 403 error because Tomcat 7 has changed the deployment url from
http://localhost:8080/manager
http://localhost:8080/manager/html
Tags: maven, plugin, http, deployment, version, error, server, tomcat, tomcat-maven-plugin, 8080/manager




Comments
so my application could not work. why?
RSS feed for comments to this post