0 Replies Latest reply on Jan 1, 2012 6:42 PM by reham saud

    RESTEasy error "exception"

    reham saud Newbie

      Hi,

      if any one could help me on this

      I deployed my web app in JBoss 5

      after running my app and tried to login I got resteasy exception

      Here is the track trace

       

      17:48:56,422 INFO  [ConfigurationBootstrap] Adding scanned @Provider: org.resteasy.plugins.providers.InputStreamProvider

      17:48:56,423 INFO  [ConfigurationBootstrap] Adding scanned @Provider: org.resteasy.plugins.providers.StringTextStar

      17:48:56,423 INFO  [ConfigurationBootstrap] Adding scanned @Provider: org.resteasy.plugins.providers.DefaultTextPlain

      17:48:56,423 INFO  [ConfigurationBootstrap] Adding scanned @Provider: org.resteasy.plugins.providers.JAXBProvider

      17:48:56,423 INFO  [ConfigurationBootstrap] Adding scanned @Provider: org.resteasy.plugins.providers.UrlFormEncoder

      17:48:56,425 INFO  [ConfigurationBootstrap] Adding scanned resource: com.isonline.RESTful.StudentsAPI

      17:48:56,621 ERROR [[Resteasy]] Servlet.service() for servlet Resteasy threw exception

      java.lang.AbstractMethodError: org.resteasy.plugins.providers.StringTextStar.isReadable(Ljava/lang/Class;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Ljavax/ws/rs/core/MediaType;)Z

          at org.jboss.resteasy.spi.ResteasyProviderFactory.getMessageBodyReader(ResteasyProviderFactory.java:544)

          at org.jboss.resteasy.core.messagebody.ReaderUtility.doRead(ReaderUtility.java:102)

          at org.jboss.resteasy.core.messagebody.ReaderUtility.doRead(ReaderUtility.java:93)

          at org.jboss.resteasy.core.MessageBodyParameterInjector.inject(MessageBodyParameterInjector.java:146)

          at org.jboss.resteasy.core.MethodInjectorImpl.injectArguments(MethodInjectorImpl.java:98)

          at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:121)

          at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:247)

          at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:212)

          at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:202)

          at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:441)

          at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:418)

          at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:111)

          at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:206)

          at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:159)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)

          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

          at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)

          at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)

          at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

          at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

          at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)

          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

          at java.lang.Thread.run(Thread.java:680)