Skip to main content

What jar provides javax/ws/rs/ext/ExceptionMapper ?

3 replies [Last post]
snyderpa
Offline
Joined: 2008-08-06
Points: 0

I have downloaded jersey-0.8-ea and replaced the jersey-0.7 jar in a webservices project. I have already dealt with a number of refactoring changes, but now I am getting this error:

[java] 2008-08-08 14:56:51.593::WARN: failed Jersey Web Application
[java] java.lang.NoClassDefFoundError: javax/ws/rs/ext/ExceptionMapper
[java] at com.sun.jersey.impl.application.ExceptionMapperFactory.(ExceptionMapperFactory.java:66)
[java] at com.sun.jersey.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:585)
[java] at com.sun.jersey.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:472)
[java] at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:541)
[java] at com.sun.jersey.spi.container.servlet.ServletContainer.load(ServletContainer.java:465)
[java] at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:147)
[java] at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:433)
[java] at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:256)
[java] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
[java] at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:612)
[java] at org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
[java] at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
[java] at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
[java] at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
[java] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
[java] at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
[java] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
[java] at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
[java] at org.mortbay.jetty.Server.doStart(Server.java:222)
[java] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
[java] at com.ibsys.headline.webservice.server.JettyServer.start(JettyServer.java:83)
[java] at com.ibsys.headline.webservice.server.JettyServer.main(JettyServer.java:45)
[java] Caused by: java.lang.ClassNotFoundException: javax.ws.rs.ext.ExceptionMapper
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
[java] at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:375)
[java] at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337)
[java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
[java] ... 22 more
[java] 2008-08-08 14:56:51.600::WARN: failed org.mortbay.jetty.webapp.WebAppContext@1b06041{/,dist/webapp}
[java] java.lang.NoClassDefFoundError: javax/ws/rs/ext/ExceptionMapper
[java] at com.sun.jersey.impl.application.ExceptionMapperFactory.(ExceptionMapperFactory.java:66)
[java] at com.sun.jersey.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:585)
[java] at com.sun.jersey.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:472)
[java] at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:541)
[java] at com.sun.jersey.spi.container.servlet.ServletContainer.load(ServletContainer.java:465)
[java] at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:147)
[java] at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:433)
[java] at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:256)
[java] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
[java] at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:612)
[java] at org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
[java] at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
[java] at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
[java] at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
[java] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
[java] at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
[java] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
[java] at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
[java] at org.mortbay.jetty.Server.doStart(Server.java:222)
[java] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
[java] at com.ibsys.headline.webservice.server.JettyServer.start(JettyServer.java:83)
[java] at com.ibsys.headline.webservice.server.JettyServer.main(JettyServer.java:45)
[java] Caused by: java.lang.ClassNotFoundException: javax.ws.rs.ext.ExceptionMapper
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
[java] at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:375)
[java] at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337)
[java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
[java] ... 22 more
[java] 2008-08-08 14:56:51.603::WARN: failed HandlerCollection@7f5580
[java] java.lang.NoClassDefFoundError: javax/ws/rs/ext/ExceptionMapper
[java] at com.sun.jersey.impl.application.ExceptionMapperFactory.(ExceptionMapperFactory.java:66)
[java] at com.sun.jersey.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:585)
[java] at com.sun.jersey.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:472)
[java] at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:541)
[java] at com.sun.jersey.spi.container.servlet.ServletContainer.load(ServletContainer.java:465)
[java] at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:147)
[java] at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:433)
[java] at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:256)
[java] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
[java] at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:612)
[java] at org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
[java] at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
[java] at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
[java] at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
[java] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
[java] at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
[java] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
[java] at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
[java] at org.mortbay.jetty.Server.doStart(Server.java:222)
[java] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
[java] at com.ibsys.headline.webservice.server.JettyServer.start(JettyServer.java:83)
[java] at com.ibsys.headline.webservice.server.JettyServer.main(JettyServer.java:45)
[java] Caused by: java.lang.ClassNotFoundException: javax.ws.rs.ext.ExceptionMapper
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
[java] at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:375)
[java] at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337)
[java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
[java] ... 22 more
[java] 2008-08-08 14:56:51.619::WARN: Error starting handlers
[java] java.lang.NoClassDefFoundError: javax/ws/rs/ext/ExceptionMapper
[java] at com.sun.jersey.impl.application.ExceptionMapperFactory.(ExceptionMapperFactory.java:66)
[java] at com.sun.jersey.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:585)
[java] at com.sun.jersey.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:472)
[java] at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:541)
[java] at com.sun.jersey.spi.container.servlet.ServletContainer.load(ServletContainer.java:465)
[java] at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:147)
[java] at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:433)
[java] at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:256)
[java] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
[java] at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:612)
[java] at org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
[java] at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
[java] at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
[java] at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
[java] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
[java] at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
[java] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
[java] at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
[java] at org.mortbay.jetty.Server.doStart(Server.java:222)
[java] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
[java] at com.ibsys.headline.webservice.server.JettyServer.start(JettyServer.java:83)
[java] at com.ibsys.headline.webservice.server.JettyServer.main(JettyServer.java:45)
[java] Caused by: java.lang.ClassNotFoundException: javax.ws.rs.ext.ExceptionMapper
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
[java] at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:375)
[java] at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337)
[java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
[java] ... 22 more

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
snyderpa

The jsr311-api.jar distributed with jersey-0.8 appears to also be refactored
from the one distributed with jersey-0.7, but without any overt version
change. The build info in the jar manifest of the later version is
truncated.

glassfish wrote:
>
> I have downloaded jersey-0.8-ea and replaced the jersey-0.7 jar in a
> webservices project. I have already dealt with a number of refactoring
> changes, but now I am getting this error:
>
> [java] 2008-08-08 14:56:51.593::WARN: failed Jersey Web Application
> [java] java.lang.NoClassDefFoundError:
> javax/ws/rs/ext/ExceptionMapper
> [java] at
> com.sun.jersey.impl.application.ExceptionMapperFactory.(ExceptionMapperFactory.java:66)
> [java] at
> com.sun.jersey.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:585)
> [java] at
> com.sun.jersey.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:472)
> [java] at
> com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:541)
> [java] at
> com.sun.jersey.spi.container.servlet.ServletContainer.load(ServletContainer.java:465)
> [java] at
> com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:147)
> [java] at
> org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:433)
> [java] at
> org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:256)
> [java] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> [java] at
> org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:612)
> [java] at
> org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
> [java] at
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
> [java] at
> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
> [java] at
> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
> [java] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> [java] at
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
> [java] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> [java] at
> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
> [java] at org.mortbay.jetty.Server.doStart(Server.java:222)
> [java] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> [java] at
> com.ibsys.headline.webservice.server.JettyServer.start(JettyServer.java:83)
> [java] at
> com.ibsys.headline.webservice.server.JettyServer.main(JettyServer.java:45)
> [java] Caused by: java.lang.ClassNotFoundException:
> javax.ws.rs.ext.ExceptionMapper
> [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> [java] at java.security.AccessController.doPrivileged(Native Method)
> [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> [java] at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
> [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> [java] at
> org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:375)
> [java] at
> org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337)
> [java] at
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> [java] ... 22 more
> [java] 2008-08-08 14:56:51.600::WARN: failed
> org.mortbay.jetty.webapp.WebAppContext@1b06041{/,dist/webapp}
> [java] java.lang.NoClassDefFoundError:
> javax/ws/rs/ext/ExceptionMapper
> [java] at
> com.sun.jersey.impl.application.ExceptionMapperFactory.(ExceptionMapperFactory.java:66)
> [java] at
> com.sun.jersey.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:585)
> [java] at
> com.sun.jersey.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:472)
> [java] at
> com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:541)
> [java] at
> com.sun.jersey.spi.container.servlet.ServletContainer.load(ServletContainer.java:465)
> [java] at
> com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:147)
> [java] at
> org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:433)
> [java] at
> org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:256)
> [java] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> [java] at
> org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:612)
> [java] at
> org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
> [java] at
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
> [java] at
> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
> [java] at
> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
> [java] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> [java] at
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
> [java] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> [java] at
> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
> [java] at org.mortbay.jetty.Server.doStart(Server.java:222)
> [java] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> [java] at
> com.ibsys.headline.webservice.server.JettyServer.start(JettyServer.java:83)
> [java] at
> com.ibsys.headline.webservice.server.JettyServer.main(JettyServer.java:45)
> [java] Caused by: java.lang.ClassNotFoundException:
> javax.ws.rs.ext.ExceptionMapper
> [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> [java] at java.security.AccessController.doPrivileged(Native Method)
> [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> [java] at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
> [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> [java] at
> org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:375)
> [java] at
> org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337)
> [java] at
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> [java] ... 22 more
> [java] 2008-08-08 14:56:51.603::WARN: failed
> HandlerCollection@7f5580
> [java] java.lang.NoClassDefFoundError:
> javax/ws/rs/ext/ExceptionMapper
> [java] at
> com.sun.jersey.impl.application.ExceptionMapperFactory.(ExceptionMapperFactory.java:66)
> [java] at
> com.sun.jersey.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:585)
> [java] at
> com.sun.jersey.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:472)
> [java] at
> com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:541)
> [java] at
> com.sun.jersey.spi.container.servlet.ServletContainer.load(ServletContainer.java:465)
> [java] at
> com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:147)
> [java] at
> org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:433)
> [java] at
> org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:256)
> [java] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> [java] at
> org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:612)
> [java] at
> org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
> [java] at
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
> [java] at
> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
> [java] at
> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
> [java] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> [java] at
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
> [java] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> [java] at
> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
> [java] at org.mortbay.jetty.Server.doStart(Server.java:222)
> [java] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> [java] at
> com.ibsys.headline.webservice.server.JettyServer.start(JettyServer.java:83)
> [java] at
> com.ibsys.headline.webservice.server.JettyServer.main(JettyServer.java:45)
> [java] Caused by: java.lang.ClassNotFoundException:
> javax.ws.rs.ext.ExceptionMapper
> [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> [java] at java.security.AccessController.doPrivileged(Native Method)
> [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> [java] at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
> [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> [java] at
> org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:375)
> [java] at
> org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337)
> [java] at
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> [java] ... 22 more
> [java] 2008-08-08 14:56:51.619::WARN: Error starting handlers
> [java] java.lang.NoClassDefFoundError:
> javax/ws/rs/ext/ExceptionMapper
> [java] at
> com.sun.jersey.impl.application.ExceptionMapperFactory.(ExceptionMapperFactory.java:66)
> [java] at
> com.sun.jersey.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:585)
> [java] at
> com.sun.jersey.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:472)
> [java] at
> com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:541)
> [java] at
> com.sun.jersey.spi.container.servlet.ServletContainer.load(ServletContainer.java:465)
> [java] at
> com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:147)
> [java] at
> org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:433)
> [java] at
> org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:256)
> [java] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> [java] at
> org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:612)
> [java] at
> org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
> [java] at
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
> [java] at
> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
> [java] at
> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
> [java] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> [java] at
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
> [java] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> [java] at
> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
> [java] at org.mortbay.jetty.Server.doStart(Server.java:222)
> [java] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> [java] at
> com.ibsys.headline.webservice.server.JettyServer.start(JettyServer.java:83)
> [java] at
> com.ibsys.headline.webservice.server.JettyServer.main(JettyServer.java:45)
> [java] Caused by: java.lang.ClassNotFoundException:
> javax.ws.rs.ext.ExceptionMapper
> [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> [java] at java.security.AccessController.doPrivileged(Native Method)
> [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> [java] at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
> [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> [java] at
> org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:375)
> [java] at
> org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337)
> [java] at
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> [java] ... 22 more
> [Message sent by forum member 'snyderpa' (snyderpa)]
>
> http://forums.java.net/jive/thread.jspa?messageID=292390
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>
>
>

--
View this message in context: http://www.nabble.com/What-jar-provides-javax-ws-rs-ext-ExceptionMapper-...
Sent from the java.net - glassfish users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

snyderpa

DITTO -- Refactoring changes and no ExceptionMapper, does anyone know the
answer?

glassfish wrote:
>
> I have downloaded jersey-0.8-ea and replaced the jersey-0.7 jar in a
> webservices project. I have already dealt with a number of refactoring
> changes, but now I am getting this error:
>
> [java] 2008-08-08 14:56:51.593::WARN: failed Jersey Web Application
> [java] java.lang.NoClassDefFoundError:
> javax/ws/rs/ext/ExceptionMapper
> [java] at
> com.sun.jersey.impl.application.ExceptionMapperFactory.(ExceptionMapperFactory.java:66)
> [java] at
> com.sun.jersey.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:585)
> [java] at
> com.sun.jersey.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:472)
> [java] at
> com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:541)
> [java] at
> com.sun.jersey.spi.container.servlet.ServletContainer.load(ServletContainer.java:465)
> [java] at
> com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:147)
> [java] at
> org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:433)
> [java] at
> org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:256)
> [java] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> [java] at
> org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:612)
> [java] at
> org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
> [java] at
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
> [java] at
> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
> [java] at
> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
> [java] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> [java] at
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
> [java] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> [java] at
> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
> [java] at org.mortbay.jetty.Server.doStart(Server.java:222)
> [java] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> [java] at
> com.ibsys.headline.webservice.server.JettyServer.start(JettyServer.java:83)
> [java] at
> com.ibsys.headline.webservice.server.JettyServer.main(JettyServer.java:45)
> [java] Caused by: java.lang.ClassNotFoundException:
> javax.ws.rs.ext.ExceptionMapper
> [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> [java] at java.security.AccessController.doPrivileged(Native Method)
> [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> [java] at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
> [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> [java] at
> org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:375)
> [java] at
> org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337)
> [java] at
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> [java] ... 22 more
> [java] 2008-08-08 14:56:51.600::WARN: failed
> org.mortbay.jetty.webapp.WebAppContext@1b06041{/,dist/webapp}
> [java] java.lang.NoClassDefFoundError:
> javax/ws/rs/ext/ExceptionMapper
> [java] at
> com.sun.jersey.impl.application.ExceptionMapperFactory.(ExceptionMapperFactory.java:66)
> [java] at
> com.sun.jersey.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:585)
> [java] at
> com.sun.jersey.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:472)
> [java] at
> com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:541)
> [java] at
> com.sun.jersey.spi.container.servlet.ServletContainer.load(ServletContainer.java:465)
> [java] at
> com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:147)
> [java] at
> org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:433)
> [java] at
> org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:256)
> [java] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> [java] at
> org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:612)
> [java] at
> org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
> [java] at
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
> [java] at
> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
> [java] at
> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
> [java] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> [java] at
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
> [java] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> [java] at
> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
> [java] at org.mortbay.jetty.Server.doStart(Server.java:222)
> [java] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> [java] at
> com.ibsys.headline.webservice.server.JettyServer.start(JettyServer.java:83)
> [java] at
> com.ibsys.headline.webservice.server.JettyServer.main(JettyServer.java:45)
> [java] Caused by: java.lang.ClassNotFoundException:
> javax.ws.rs.ext.ExceptionMapper
> [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> [java] at java.security.AccessController.doPrivileged(Native Method)
> [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> [java] at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
> [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> [java] at
> org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:375)
> [java] at
> org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337)
> [java] at
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> [java] ... 22 more
> [java] 2008-08-08 14:56:51.603::WARN: failed
> HandlerCollection@7f5580
> [java] java.lang.NoClassDefFoundError:
> javax/ws/rs/ext/ExceptionMapper
> [java] at
> com.sun.jersey.impl.application.ExceptionMapperFactory.(ExceptionMapperFactory.java:66)
> [java] at
> com.sun.jersey.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:585)
> [java] at
> com.sun.jersey.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:472)
> [java] at
> com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:541)
> [java] at
> com.sun.jersey.spi.container.servlet.ServletContainer.load(ServletContainer.java:465)
> [java] at
> com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:147)
> [java] at
> org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:433)
> [java] at
> org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:256)
> [java] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> [java] at
> org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:612)
> [java] at
> org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
> [java] at
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
> [java] at
> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
> [java] at
> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
> [java] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> [java] at
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
> [java] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> [java] at
> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
> [java] at org.mortbay.jetty.Server.doStart(Server.java:222)
> [java] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> [java] at
> com.ibsys.headline.webservice.server.JettyServer.start(JettyServer.java:83)
> [java] at
> com.ibsys.headline.webservice.server.JettyServer.main(JettyServer.java:45)
> [java] Caused by: java.lang.ClassNotFoundException:
> javax.ws.rs.ext.ExceptionMapper
> [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> [java] at java.security.AccessController.doPrivileged(Native Method)
> [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> [java] at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
> [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> [java] at
> org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:375)
> [java] at
> org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337)
> [java] at
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> [java] ... 22 more
> [java] 2008-08-08 14:56:51.619::WARN: Error starting handlers
> [java] java.lang.NoClassDefFoundError:
> javax/ws/rs/ext/ExceptionMapper
> [java] at
> com.sun.jersey.impl.application.ExceptionMapperFactory.(ExceptionMapperFactory.java:66)
> [java] at
> com.sun.jersey.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:585)
> [java] at
> com.sun.jersey.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:472)
> [java] at
> com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:541)
> [java] at
> com.sun.jersey.spi.container.servlet.ServletContainer.load(ServletContainer.java:465)
> [java] at
> com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:147)
> [java] at
> org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:433)
> [java] at
> org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:256)
> [java] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> [java] at
> org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:612)
> [java] at
> org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
> [java] at
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
> [java] at
> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
> [java] at
> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
> [java] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> [java] at
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
> [java] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> [java] at
> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
> [java] at org.mortbay.jetty.Server.doStart(Server.java:222)
> [java] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> [java] at
> com.ibsys.headline.webservice.server.JettyServer.start(JettyServer.java:83)
> [java] at
> com.ibsys.headline.webservice.server.JettyServer.main(JettyServer.java:45)
> [java] Caused by: java.lang.ClassNotFoundException:
> javax.ws.rs.ext.ExceptionMapper
> [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> [java] at java.security.AccessController.doPrivileged(Native Method)
> [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> [java] at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
> [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> [java] at
> org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:375)
> [java] at
> org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337)
> [java] at
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> [java] ... 22 more
> [Message sent by forum member 'snyderpa' (snyderpa)]
>
> http://forums.java.net/jive/thread.jspa?messageID=292390
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>
>
>

--
View this message in context: http://www.nabble.com/What-jar-provides-javax-ws-rs-ext-ExceptionMapper-...
Sent from the java.net - glassfish users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

Bobby Bissett

> DITTO -- Refactoring changes and no ExceptionMapper, does anyone
> know the
> answer?

I don't know the answer specifically, but here's a little tool that
will help solve those problems in general:

https://jarsearch.dev.java.net/servlets/ProjectDocumentList

You can point it at your GF install, choose "Recursive Search" under
"Options," and enter the class name you're looking for. Use all lower
case for case-insensitive search (like in emacs).

Cheers,
Bobby

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net