On 13-1-2017 18:26, Mark Thomas wrote:
Class loader resources have special handling. I think you'll be able to
get this to work with:

standardRoot.createWebResourceSet(CLASSES_JAR, "/WEB-INF/classes",
             new File("target/classes").getAbsolutePath(), null, "/");

If that doesn't work, I'd recommend using a debugger to figure out what
is going on. It wouldn't surprise me to find we need to extend the API
as more use cases emerge.

Thank you! That indeed worked! Onto the next exception :-)

BTW I'm now also parsing the System property classpath (setup by Eclipse's 
Maven plugin) to add JarResourceSets for every jar.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to