My Oracle Support Banner

Resource injection with handler causes java.lang.ClassNotFoundException (Doc ID 1436045.1)

Last updated on FEBRUARY 03, 2019

Applies to:

Oracle WebLogic Server - Version 10.3.3 to
Information in this document applies to any platform.
***Checked for relevance on 12-May-2013***


On WebLogic Server, injecting a required resource in handler i.e Annotate a handler with @Resource(mappedName="<smth from JNDI>") causes 'java.lang.ClassNotFoundException' during deployment

Here's the sample code snippet for a handler with @Resource annotation


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.