[Jersey] Re: Tomcat can't load com.sun.jersey.spi.container.servlet.ServletContainer, but Glasfish can

From: Sven Strittmatter <>
Date: Wed, 15 Feb 2012 11:29:48 +0100

Hey Glen,

I got it! I got it!

In an other thread here "Class loading issues with Jersey 1.11 or 1.8
and Spring 3.05 or 3.1.0 (SpringServlet and javax/ws/rs/Path, get, etc)"
I saw that someone uses these jars:

The last one jersey-servlet-1.11 I saw the first time and i tried adding
it to my POM. And guess what: Works. The missed class
com.sun.jersey.spi.container.servlet.ServletContainer is in this jar file.

Sad that no example about jersey I found in the web does not mention
this dependency. And also sad that Netbeans didn't suggested this
artefactId jersey-servlet when I invoked code completion in the pom.xml.