datacite/OAIP — Issue #19: mvn tomcat:run is broken
Author: peterss
Created: 2011-12-06 18:22:14+00:00
State: open

This is not essential, but a nice way to develop using a embedded tomcat via maven.

Currently you get

java.lang.ClassCastException: datacite.oai.provider.DataCiteControllerServlet cannot be cast to javax.servlet.Servlet

After setting scope of `servlet-api` in `pom.xml` to "provided" you get

Caused by: java.lang.Exception: Error reading DB properties at: /WEB-INF/classes/database.properties