3 Jun 2005 22:29
Re: web app jar classloader issue
Greg Wilkins <gregw <at> mortbay.com>
2005-06-03 20:29:31 GMT
2005-06-03 20:29:31 GMT
Erik, this problem is almost certainly due to the class inversion problems in the servlet spec. You can try turning on java2compliant class loading or configure the new class loading options in 5.1.3 Look in jetty-web.xml, demo.xml and jetty.xml for examples. I need to write a FAQ on this.... I will for the next release. cheers Erik Smith wrote: > I have a web app that is deployed under jetty 5.1.3 that uses a pair of jars for > a stax parser. When the jar pair is present in the small container app that > embeds jetty, everything is fine, but when the container app doesn't have the > jars and I instead rely on having the jars in the WEB-INF/lib directory of the > deployed war file, I get this error : > > java.lang.NoClassDefFoundError: javax/xml/stream/XMLStreamException > > The parser actually runs up to a point. The problem appears to occur when one > jar in WEB-INF/lib tries to resolve a class contained in another jar in > WEB-INF/lib (although this may not be related) > > Any ideas? > > erik > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Yahoo. > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > Search APIs Find out how you can build Yahoo! directly into your own > Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 > _______________________________________________ > Jetty-support mailing list > Jetty-support <at> lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jetty-support > ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Jetty-support mailing list Jetty-support <at> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jetty-support
RSS Feed