JDK 11 Multi-Release jar failing in JBoss EAP 7.2

Solution Unverified - Updated -

Issue

  • JDK 11 Multi-Release jar failing in JBoss EAP 7.2
Caused by: java.lang.UnsupportedOperationException: No class provided, and an appropriate one cannot be found.
    at deployment.log4j-2.9.0.war//org.apache.logging.log4j.LogManager.callerClass(LogManager.java:525)
    at deployment.log4j-2.9.0.war//org.apache.logging.log4j.LogManager.getLogger(LogManager.java:550)
    at deployment.log4j-2.9.0.war//org.apache.logging.log4j.LogManager.getLogger(LogManager.java:537)
    at deployment.log4j-2.9.0.war//reproducer.Init.<clinit>(Init.java:11)
    ... 42 more

Environment

Red Hat JBoss Enterprise Application Platform (EAP) 7.2

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