Ich muss ein xml mit xerces (xsd v1.1) in meiner Webapp (Spring 3) validieren, das in einem jboss 6 Server deployt werden muss. Aber ich bekomme einen Fehler in der Bereitstellung. Dies geschieht nicht in Tomcat. Es wirft die folgende Ausnahme:Jboss 6, Spring & Xerces
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter#0': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter]: Constructor threw exception; nested exception is java.lang.ClassCastException: org.apache.xalan.processor.TransformerFactoryImpl cannot be cast to javax.xml.transform.TransformerFactory
Ich habe versucht, einige Konfiguration mit Jboss-web.xml und Jboss-classloading.xml, aber ich habe nicht funktioniert. Irgendeine Idee?