I am having an issue running a servlet in jetty on Ubuntu 13.04. The server is installed using apt-get
and started using sudo service jetty start
.
Put the following into your webapps/YOURWAR.xml
, within the
(the -
in front of org.eclipse.jetty.util.
is important):
-org.eclipse.jetty.util.
You need to prepend it, because the order is important and the last one which is added by default is org.eclipse.jetty.
as documented on eclipse.org. So calling addServerClass would be a no-op, as org.eclipse.jetty.util.
is already be excluded by org.eclipse.jetty.
.