Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
8.0.0-M1, 8.0.0-M2, 7.1.1, 8.0.0-M3, 8.0.0-Final
-
None
-
None
Description
Some spec jars like JACC use the ProviderLocator for internal usage. Most of the time they shade the Geronimo OSGi Locator dependency.
But we do exclude the ProviderLocator from the javaee-api uber jar which results in a NoClassDefFound when using OpenEJB Standalone for instance.
Caused by: java.lang.NoClassDefFoundError: org/apache/geronimo/osgi/locator/ProviderLocatorCaused by: java.lang.NoClassDefFoundError: org/apache/geronimo/osgi/locator/ProviderLocator at javax.security.jacc.PolicyConfigurationFactory$1.run(PolicyConfigurationFactory.java:89)