i have written simple resteasy hello world web-service. used work fine when invoked ie or within eclipse(rad), when hit google chrome, used give exception saying.
com.ibm.ws.webcontainer.servlet.servletwrapper service uncaught service() exception thrown servlet resteasy: java.lang.noclassdeffounderror: org/jboss/resteasy/util/headerparameterparser @ org.jboss.resteasy.plugins.delegates.mediatypeheaderdelegate.parse(mediatypeheaderdelegate.java:57) @ org.jboss.resteasy.plugins.delegates.mediatypeheaderdelegate.fromstring(mediatypeheaderdelegate.java:18) @ javax.ws.rs.core.mediatype.valueof(mediatype.java:150) @ org.jboss.resteasy.util.mediatypehelper.parseheader(mediatypehelper.java:203) @ org.jboss.resteasy.plugins.server.servlet.servletutil.extractaccepts(servletutil.java:120) @ org.jboss.resteasy.plugins.server.servlet.servletutil.extracthttpheaders(servletutil.java:83) @ org.jboss.resteasy.plugins.server.servlet.servletcontainerdispatcher.service(servletcontainerdispatcher.java:186) @ org.jboss.resteasy.plugins.server.servlet.httpservletdispatcher.service(httpservletdispatcher.java:55) @ org.jboss.resteasy.plugins.server.servlet.httpservletdispatcher.service(httpservletdispatcher.java:50) @ javax.servlet.http.httpservlet.service(httpservlet.java:668) @ com.ibm.ws.webcontainer.servlet.servletwrapper.service(servletwrapper.java:1224)
but exception occurring in cases.
i sure jar file containing headerparameterparser class restreasy-jaxrs2.2.3.ga.jar on classpath.
i using
- resteasy 2.2.3.ga(also tried 3.o.1final).
- websphere application server v8.0
- rad 8.0
- maven
Comments
Post a Comment