My Oracle Support Banner

Accessing Application Fails With the Error "WELD-001408 Unsatisfied dependencies" (Doc ID 1642539.1)

Last updated on APRIL 14, 2018

Applies to:

Oracle WebLogic Server - Version 12.1.2.0.0 and later
Information in this document applies to any platform.

Symptoms

Only on Windows Injection with @Inject does not to work when class to inject lies in earfiles: APP-INF/lib.

When a Servlet (found below in preear/preweb/WEB-INF/lib/servlet.jar) injects an object from preear/APP-INF/lib/service.jar, all should be fine.
However on Windows it throws below exception:

DeploymentException: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [Greeter] with qualifiers [@Default] at injection point [[field] @Inject private TestGreeter.gd]

 

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
Cause
Solution
References


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