Hibernate application redeployment failure

Solution Verified - Updated -

Issue

  • Stack trace of application redeployment.
Caused by: org.apache.xerces.impl.dv.DVFactoryException: DTD factory class org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend from DTDDVFactory.
    at org.apache.xerces.impl.dv.DTDDVFactory.getInstance(Unknown Source)
    at org.apache.xerces.impl.dv.DTDDVFactory.getInstance(Unknown Source)
    at org.apache.xerces.impl.xs.opti.SchemaParsingConfig.<init>(Unknown Source)
    at org.apache.xerces.impl.xs.opti.SchemaParsingConfig.<init>(Unknown Source)
    at org.apache.xerces.impl.xs.traversers.XSDHandler.<init>(Unknown Source)
    at org.apache.xerces.impl.xs.traversers.XSDHandler.<init>(Unknown Source)
    at org.apache.xerces.impl.xs.XMLSchemaLoader.<init>(Unknown Source)
    at org.apache.xerces.impl.xs.XMLSchemaLoader.<init>(Unknown Source)
    at org.apache.xerces.impl.xs.XMLSchemaValidator.<init>(Unknown Source)
    at org.apache.xerces.jaxp.validation.XMLSchemaValidatorComponentManager.<init>(Unknown Source)
    at org.apache.xerces.jaxp.validation.ValidatorHandlerImpl.<init>(Unknown Source)
    at org.apache.xerces.jaxp.validation.AbstractXMLSchema.newValidatorHandler(Unknown Source)
    at com.sun.xml.bind.v2.runtime.unmarshaller.ValidatingUnmarshaller.<init>(ValidatingUnmarshaller.java:73)
    at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshallerHandler(UnmarshallerImpl.java:197)
    at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:456)
    at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:430)
    at org.hibernate.validator.internal.util.privilegedactions.Unmarshal.run(Unmarshal.java:38)
    at org.hibernate.validator.internal.util.privilegedactions.Unmarshal.run(Unmarshal.java:20)
    at org.hibernate.validator.internal.xml.ValidationXmlParser.run(ValidationXmlParser.java:201)
    at org.hibernate.validator.internal.xml.ValidationXmlParser.unmarshal(ValidationXmlParser.java:125)
    ... 17 more

Environment

  • Enterprise Application Platform (EAP)
    • 7.0.x
  • Xerces
    • 2.9.0
  • Hibernate
    • 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.