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

Last updated on JUNE 09, 2016

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:

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms