Last Updated: February 25, 2016
· ddossot

Embedded Jetty TLD resolution in Maven integration tests

By default, the maven-failsafe-plugin executes in the system classloader, which prevents Jetty to locate the TLDs referred to in web.xml.

        <!-- This is needed so that the embedded Jetty's JSP parser can find the .tld
        files for the JSTL namespaces -->

Note that this applies when running embedded Jetty (a la fat-jar), not when bootstraping Jetty from its Maven plug-in.