What's your MANIFEST, especially the Import-Package statement ?

You should have something like:

Import-Package: javax.servlet*, ...*

Regards
JB

On 05/17/2011 12:06 PM, simplemind wrote:
I left out that I have the war, jetty, and http features installed already
when that happens.

If I don't put any jars in the lib directory I get NoClassDefFoundError(s).
For instance, I just took servlet-api jar out of there and then got this:

java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet

--
View this message in context: 
http://karaf.922171.n3.nabble.com/strange-class-cast-exception-tp2951187p2951890.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to