Thomas.
Not sure where "jetty-context.xml in your WAR" came from, but that's not something Jetty supports. The configuration of the WebAppClassLoader in Jetty (what these prependServerClasses calls are all about) must occur before the WebAppContext is initialized. Hence it can only occur outside of the WAR file itself.
The updates to the Decorators concepts in Jetty 9.3 makes the need to manage the prependServerClasses moot. But only if Weld updates their usage of Jetty Decorators for the new locations, as these new locations are fully exposed by default in Jetty 9.3+
|