AbstractMethodError: Receiver class org.apache.crimson.jaxp.DocumentBuilderFactoryImpl does not define or inherit an implementation of the resolved method abstract setFeature

Solution Verified - Updated -

Issue

  • Our application was working fine but after updating to EAP 7.4.4+ it fails to start with the following error:
Caused by: java.lang.AbstractMethodError: Receiver class org.apache.crimson.jaxp.DocumentBuilderFactoryImpl does not define or inherit an implementation of the resolved method abstract setFeature(Ljava/lang/String;Z)V of abstract class javax.xml.parsers.DocumentBuilderFactory.
    at org.jboss.log4j.logmanager@1.2.2.Final-redhat-00002//org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:867)
    at org.jboss.log4j.logmanager@1.2.2.Final-redhat-00002//org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:799)
    at org.jboss.as.logging@15.0.8.Final-redhat-00001//org.jboss.as.logging.deployments.LoggingConfigDeploymentProcessor.configure(LoggingConfigDeploymentProcessor.java:235)
    at org.jboss.as.logging@15.0.8.Final-redhat-00001//org.jboss.as.logging.deployments.LoggingConfigDeploymentProcessor.processDeployment(LoggingConfigDeploymentProcessor.java:113)
    at org.jboss.as.logging@15.0.8.Final-redhat-00001//org.jboss.as.logging.deployments.AbstractLoggingDeploymentProcessor.deploy(AbstractLoggingDeploymentProcessor.java:68)
    at org.jboss.as.server@15.0.8.Final-redhat-00001//org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:182)
    ... 8 more

Environment

  • JBoss Enterprise Application Platform (EAP) 7.4.4+

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content