Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
I'm moving a RESTeasy project from JDK1.5 on JBoss AS 4.2.2 to JDK1.6 on JBoss AS 5.1. When calling a rest service annotated with @Wrapped I get the following error:
java.lang.LinkageError: loader constraint violation: when resolving method "javax.xml.bind.JAXBElement.<init>(Ljavax/xml/namespace/QName;Ljava/lang/Class;Ljava/lang/Object;)V" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, org/jboss/resteasy/plugins/providers/jaxb/CollectionProvider, and the class loader (instance of <bootloader>) for resolved class, javax/xml/bind/JAXBElement, have different Class objects for the type javax/xml/namespace/QName used in the signature
The RESTeasy doc at "Chapter 41. JBoss 5.x Integration" says:
"Also, if you are running with JDK 6, make sure to filter out the JAXB jars as they come with JDK 6."
Does anybody know which jars are to be "filtered out" to make it work with JDK1.6?
Many thanks, Enrico