Jean-Louis MONTEIRO created TOMEE-2690:
------------------------------------------

             Summary: javaee-api must include ProviderLocator used by some 
specs jars.
                 Key: TOMEE-2690
                 URL: https://issues.apache.org/jira/browse/TOMEE-2690
             Project: TomEE
          Issue Type: Bug
            Reporter: Jean-Louis MONTEIRO


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)

 

 

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to