<?xml version="1.0"?> <!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_3.dtd"> <Configure id="Server" class="org.eclipse.jetty.server.Server"> <!-- =========================================================== --> <!-- Add annotation Configuring classes to all webapps for this Server --> <!-- =========================================================== --> <Call class="org.eclipse.jetty.webapp.Configuration$ClassList" name="setServerDefault"> <Arg><Ref refid="Server" /></Arg> <Call name="addBefore"> <Arg name="beforeClass">org.eclipse.jetty.webapp.JettyWebXmlConfiguration</Arg> <Arg> <Array type="String"> <Item>org.eclipse.jetty.annotations.AnnotationConfiguration</Item> </Array> </Arg> </Call> </Call> </Configure>