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, 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