JDK 11 Multi-Release jar failing in JBoss EAP 7.2
Environment
Red Hat JBoss Enterprise Application Platform (EAP) 7.2
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
Resolution
Apply CP2 or later when available
Root Cause
SBR
Components
Category
Tags
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.