My Oracle Support Banner

WELD-001408 Unsatisfied Dependencies Exception When Deploying An Application (Doc ID 1444342.1)

Last updated on MARCH 09, 2020

Applies to:

Oracle WebLogic Server - Version to [Release 12c]
Information in this document applies to any platform.


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 :

public class TestServlet extends HttpServlet {

private static final long serialVersionUID = 1L;

Test testEJB;
Test testInject;
TestUtilPojo testUtilPojo;

TestEjbPojo testEjbPojo;


When deploying this application, it fails with the   'WELD-001408 Unsatisfied dependencies for type' Exception :

<10 mars 2012 17 h 35 CET> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID "1331397331470" for task "2". Error
is: " "
at weblogic.application.internal.BaseDeployment.throwAppException(
at weblogic.application.internal.BaseDeployment.prepare(
at weblogic.application.internal.EarDeployment.prepare(
at weblogic.application.internal.DeploymentStateChecker.prepare(
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(
Truncated. see log file for complete stacktrace
Caused By: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [TestUtilPojo] with qualifiers [@Default] at injection point [[field] @Injecttest.cdi.web.TestServlet.testUtilPojo]
at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(
at org.jboss.weld.bootstrap.Validator.validateBean(
at org.jboss.weld.bootstrap.Validator.validateRIBean(
at org.jboss.weld.bootstrap.Validator.validateBeans(
at org.jboss.weld.bootstrap.Validator.validateDeployment(
Truncated. see log file for complete stacktrace
<10 mars 2012 17 h 35 CET> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application "testcdi".>
<10 mars 2012 17 h 35 CET> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
at weblogic.application.internal.BaseDeployment.throwAppException(
at weblogic.application.internal.BaseDeployment.prepare(

The TestUtilPojo.class cannot not be injected in

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.


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.