My Oracle Support Banner

BEA-149231 Error When Deploying ORDS to Weblogic (Doc ID 2904558.1)

Last updated on OCTOBER 21, 2022

Applies to:

Oracle REST Data Services - Version 22.1 and later
Oracle WebLogic Server - Version 14.1.1.0.0 and later
Information in this document applies to any platform.

Symptoms

When attempting to deploy the ords.war file on WebLogic, the following error occurs:

weblogic.management.DeplymentException: ... deployment failure: Unable to make protected final java.lang.Class java.lang.CalssLoader.defineClass(java.lang.string.byte[],init,int) throws java.lang.ClassFormatError accessible: module java .basedoes not "opens java.lang" to unnamed module @7c711375
at com.oracle.injection.integration.CDIAppDeplymentExtension.initCdi(CDIAppDeplymentExtension.java:95)
at com.oracle.injection.integration.CDIAppDeplymentExtension.activate(CDIAppDeplymentExtension.java:43)
at weblogic.application.internal.flow.AppDeploymentExtensionFlow.activat(AppDeploymentExtensionFlow.java:39)
at weblogic.application.internal.baseDeployment$2.next(baseDeploymentExtensionFlow.java:752)
at weblogic.application.utils.StateMachineDriver.nextstate(StateMachineDriver.java:45)

Caused By: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String.byte[], init,init) throws java.lang.CalssFormatError accessible: module java.base does not "open java.lang" to unnamed modurl @7c711375

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


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