WELD-001408 Unsatisfied Dependencies Exception When Deploying An Application
(Doc ID 1444342.1)
Last updated on MARCH 28, 2024
Applies to:
Oracle WebLogic Server - Version 12.1.1.0 to 12.1.1.0 [Release 12c]Information in this document applies to any platform.
Symptoms
This problem is fixed with WLS 12.1.2 version.
A J2EE application cannot be deployed into 12.1.1 WLS server running on Windows platform.
This test case application is having two modules : WEB, EJB module and a shared library which is used by those two modules .
The test case application EAR file is composed of :
- testcdiEJB.jar (EJB module )
- testcdiWeb.war (WEB module)
- lib/ testcdiUtil.jar (library shared by EJB, WEB modules)
The testUtilPojo.class is stored in testcdiUtil.jar .
The Web module is composed of a servlet which is injecting an EJB pojo, a Pojo (TestUtilPojo) , and an EJB as the following :
The TestUtilPojo.class cannot not be injected in TestServlet.java.
Note that storing testcdiUtil.jar into the APP-INF/lib does not solve the problem.
Moreover, this problem occurs when WLS server is running on Windows platform. On Linux platform, this problem does not occur.
Changes
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 |