My Oracle Support Banner

CDI In Embedded EJBContainer Fails with java.lang.UnsupportedOperationException (Doc ID 2064340.1)

Last updated on SEPTEMBER 13, 2023

Applies to:

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

Symptoms

Using the WebLogic 12.1.2.0 embedded EJB container for JUnit testing, when running the container, it fails if META-INF/beans.xml (needed for CDI) exists on the classpath.

The following exception occurs:

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


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