I don't follow much. Actually what we are using is this https://docs.jboss.org/weld/reference/2.3.0.Final/en-US/html_single/#_jetty configuration. So is it bug that it worked with Jetty 9.2 and Jetty 9.3.0 ? I am not succesfull with following in weld-numberguess.xml:
<?xml version="1.0"?>
|
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">
|
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
|
<Set name="contextPath">/weld-numberguess</Set>
|
<Set name="war"><Property name="jetty.webapps" default="."/>/weld-numberguess.war</Set>
|
<Call name="prependServerClass">
|
<Arg>-org.eclipse.jetty.server</Arg>
|
</Call>
|
<Call name="prependServerClass">
|
<Arg>-org.eclipse.jetty.servlet</Arg>
|
</Call>
|
</Configure>
|
netiher with following jetty-context.xml within the WAR:
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
|
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
|
<!-- Make Jetty system class visible from the webapp -->
|
<!-- See also http://agorava.org/news/2012/07/10/Starting-a-CDI-webapp-from-Maven-with-Weld-servlet-and-jetty-plugin/ -->
|
<Call name="prependServerClass">
|
<Arg>-org.eclipse.jetty.server.</Arg>
|
</Call>
|
<Call name="prependServerClass">
|
<Arg>-org.eclipse.jetty.servlet.</Arg>
|
</Call>
|
</Configure>
|
So can you please exactly tell me what is right configuration or where I can find it? I know about org.eclipse.jetty.servlet.ServletContextHandler$Decorator obsolence. I already tried to update Weld but I ended up with CNFE org.eclipse.jetty.util.Decorator anyway. I can prepare it in my branch.
|