[jboss-user] [JBoss Web Services Users] - Linkage error when packaging metro

peterdnight2 do-not-reply at jboss.com
Thu Nov 19 12:29:34 EST 2009


I added an entry to jboss-web.xml, but still get errors below. Help Please ;)


<jboss-web>
 <class-loading java2ClassLoadingCompliance="true">
 <loader-repository>
 com.example:archive=petersLoader
 <loader-repository-config>java2ParentDelegation=false</loader-repository-config>
 </loader-repository>
 </class-loading>
 </jboss-web>



12:25:04,853 INFO  [http] WSSERVLET12: JAX-WS context listener initializing
12:25:05,462 SEVERE [http] WSSERVLET11: failed to parse runtime descriptor: java.lang.LinkageError: loader constraint violation: when resolving field "DATETIME" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the referring class, javax/xml/datatype/DatatypeConstants, and the class loader (instance of ) for the field's resolved type, javax/xml/namespace/QName, have different Class objects for that type
java.lang.LinkageError: loader constraint violation: when resolving field "DATETIME" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the referring class, javax/xml/datatype/DatatypeConstants, and the class loader (instance of ) for the field's resolved type, javax/xml/namespace/QName, have different Class objects for that type
	at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl.(RuntimeBuiltinLeafInfoImpl.java:224)
	at com.sun.xml.bind.v2.model.impl.RuntimeTypeInfoSetImpl.(RuntimeTypeInfoSetImpl.java:61)
	at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:127)
	at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:79)
	at com.sun.xml.bind.v2.model.impl.ModelBuilder.(ModelBuilder.java:152)

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266615#4266615

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266615



More information about the jboss-user mailing list