Custom Java Application Cluster Deployment Throwing ClassNotFoundException: org.springframework.beans.factory.Aware
(Doc ID 2750339.1)
Last updated on FEBRUARY 16, 2024
Applies to:
Oracle WebLogic Server for Oracle Cloud Infrastructure - Version N/A and laterInformation in this document applies to any platform.
Symptoms
Customer has a custom application that cannot be deployed to the WLS cluster. This application is using Spring Injection with JMS connection from Oracle Cloud to customer's network.
This is the error that can be found in the server logs
weblogic.management.DeploymentException: CDI deployment failure:org/springframework/beans/factory/Aware
at com.oracle.injection.integration.CDIAppDeploymentExtension.initCdi(CDIAppDeploymentExtension.java:95)
at com.oracle.injection.integration.CDIAppDeploymentExtension.activate(CDIAppDeploymentExtension.java:43)
at weblogic.application.internal.flow.AppDeploymentExtensionFlow.activate(AppDeploymentExtensionFlow.java:39)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:752)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: org.springframework.beans.factory.Aware
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:1029)
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 |