CDI Doesn't Work for Split-Source Deployment if Unresolved Dependencies Exist In WEB-INF/classes
(Doc ID 1533550.1)
Last updated on JUNE 14, 2023
Applies to:
Oracle WebLogic Server - Version 12.1.1.0 and laterInformation in this document applies to any platform.
Symptoms
In WebLogic Server 12.1.1, customers can face issues during the split-deployment phase wherein the deployment fails with a class not found exception when unresolved dependencies are kept in the web project within the scope of Contexts and Dependency Injection (CDI) scanning. These classes can often be classes which are not actively referred to by the application, but still are packaged within the application for some reason. If these classes have imports, references that are unresolved or are not included within the application packaging, and these classes fall in the scope of CDI scanning, the deployment fails with a ClassNotFoundException:
Changes
Customer applied the fix for unpublished defect 13587604 to his environment.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |