kolorobot / spring-mvc-quickstart-archetype

The project is a Maven archetype for Spring MVC web application.
http://blog.codeleak.pl
1.05k stars 478 forks source link

Can't access Tomcat7 manager #87

Closed perrohunter closed 9 years ago

perrohunter commented 9 years ago

This, pretty cool, archetype is not allowing access to the tomcat manager, therefore deployment automation is not possible (easily), is there a way to have spring let the request to http://localhost:8080/manager/html go through?

kolorobot commented 9 years ago

@perrohunter The archetype uses tomcat7 plugin (http://tomcat.apache.org/maven-plugin-2.0/tomcat7-maven-plugin/). You can check the website how to deploy using not embedded Tomcat server. You need to adjust the POM to make it work, provide a valid goal etc. Hope it helps!