What server? Tomcat? JBoss? Websphere? What do you mean by application? EAR? WAR? What do you mean by shared library?
On 5/7/12 1:33 PM, Caio Carlo Candido wrote: > Currently I have two applications on the same instance of a server and > only one is configured to work with resteasy: > org.jboss.resteasy.jaxrs-api-1.1.GA in shared library, > resteasy-atom-provider-1.1-RC2, resteasy-jackson-provider-1.1.GA, > resteasy-jaxb-provider-1.1.GA, resteasy-jaxrs-1.1.GA in the library of > the application. When I add the libraries in another application, the > following error occurs: > Caused by: java.lang.ClassCastException: org. jboss resteasy. > System.core.dll ServerResponse cannot be cast to > org.jboss.resteasy.cor e. ServerResponse at jboss resteasy. org.. > core. ResourceMethod. invokeOnTarget (ResourceMethod.java: 236) > > If I put resteasy-jaxrs-1.1.GA in the shared library, everything > works. But I believe that there is no alternative ... > Thank you for help... > -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Resteasy-users mailing list Resteasy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/resteasy-users