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.<init>(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_at_1b06041{/,dist/webapp}
> [java] java.lang.NoClassDefFoundError:
> javax/ws/rs/ext/ExceptionMapper
> [java] at
> com.sun.jersey.impl.application.ExceptionMapperFactory.<init>(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_at_7f5580
> [java] java.lang.NoClassDefFoundError:
> javax/ws/rs/ext/ExceptionMapper
> [java] at
> com.sun.jersey.impl.application.ExceptionMapperFactory.<init>(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.<init>(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_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>
--
View this message in context: http://www.nabble.com/What-jar-provides-javax-ws-rs-ext-ExceptionMapper---tp18898602p18970414.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.