Hi I don't get the NPE.
About your issues: 1) why just extending Application should work if you use jersey? You want to use jersey so you do it yourself 2) you need to specify your Application class in web.xml as per the spec Here is a sample http://svn.apache.org/repos/asf/tomee/tomee/trunk/examples/tomee-jersey-eclipselink/src/main/webapp/WEB-INF/web.xml *Romain Manni-Bucau* *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/10/13 zmirc <[email protected]> > Moreover, if I don't specify JAX-RS in web.xml and I try to extend JAX-RS > Application, Tomee doesn't do anything at all, and returns 404. > Yet...this example works on plain Tomcat 7.0.42. > > I've attached both maven projects, for easier access. > tomee-jersey-bug-extending-Application.zip > < > http://openejb.979440.n4.nabble.com/file/n4665573/tomee-jersey-bug-extending-Application.zip > > > tomee-jersey-bug-web.xml.zip > < > http://openejb.979440.n4.nabble.com/file/n4665573/tomee-jersey-bug-web.xml.zip > > > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/Tomee-1-6-0-2013-10-05-Jersey-2-3-X-openejb-class-loader-error-tp4665572p4665573.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >
