caused by:java.lang.LinkageError:loader constraint violation in interface itable Initialization:when Resolving Method "Org.apache.xerces.impl.xs.opti.DefaultElement.getSchemaTypeInfo () lorg/w3c/ Dom/typeinfo "The class loader (instance of Weblogic/utils/classloaders/changeawareclassloader) of the current class, or G/apache/xerces/impl/xs/opti/defaultelement, and the class loader (instance of <bootloader>) for interface org/w3c /dom/element have different Class objects for the ' type Org/w3c/dom/typeinfo used in the ' signature at org.apache.xerces.im Pl.xs.opti.SchemaDOM.reset (Unknown source) at Org.apache.xerces.impl.xs.opti.schemadom.<init> (Unknown source ) at Org.apache.xerces.impl.xs.opti.SchemaDOMParser.startDocument (Unknown Source) at Org.apache.xerces.impl.XMLDocumentScannerImpl.startEntity (Unknown Source) at Org.apache.xerces.impl.XMLVersionDetector.startDocumentParsing (Unknown Source)
Cause: Jar pack Conflict, my program relies on xercesimpl-2.9.1.jar,weblogic also have the corresponding package, remove my own bag on the line.
In Weblogic.xml, the configuration prefer-web-inf-classes is true, which means that the jar package in the program is loaded preferentially. WebLogic will also load its own, so the conflict, the value to False, also line, do not remove the program in the Jar,weblogic can also get up, but log4j is also used WebLogic, the configuration of their own log4j configuration file is not used.
<container-descriptor>
<prefer-web-inf-classes>true</prefer-web-inf-classes>
</container-descriptor>