Last updated on JUNE 09, 2016
Applies to:Oracle WebLogic Server - Version 184.108.40.206 to 220.127.116.11 [Release 12c]
Information in this document applies to any platform.
This is a CDI issue. When beans.xml is included, CDI scans all files and needs jars that are not used.
Attempting to deploy a complex EJB application fails with the following error:
The application uses the third party library Apache Activiti (B) which has a dependency to Drools (C). So C is a transitive dependency to A. In my application I am not using features from (C) neither direct nor indirect.
If the application is built with all dependencies stored in the root of the EAR and with classpath references in the manifest files (attached as file WithoutAppInfLib.ear), the deployment fails with the error message.
If the application is built with all dependencies stored in the WLS proprietary APP-INF/lib directory of the EAR (attached as file WithAppInfLib.ear), the deployment is successful!
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms