1 Feb 12:00
[Apache Tomcat Maven plugin] Howto specify the Document base ?
Blaise Gervais <gervais.b <at> gmail.com>
2012-02-01 11:00:40 GMT
2012-02-01 11:00:40 GMT
Dear tomcat users, I try to use the Tomcat Maven plugin<http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/index.html>'s "run" goal on a webapp. The webapp is generated by Enunciate<http://enunciate.codehaus.org/> into the "*target\${artifactId}-${version}*" folder. So the tomcat plugin complains because it can't found the expected document base. How can I change the document base ? Thanks. GRAVE: Error starting static Resources > java.lang.IllegalArgumentException: Document base > C:\Dev\Sources\xyz\sample\src\main\webapp does not exist or is not a > readable directory > at > org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:140) > at > org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4894) > at > org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5074) > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > at > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1568) > at > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1558) > at(Continue reading)
RSS Feed