Spring Class Loading Issues
Last updated on JUNE 07, 2018
Applies to:Oracle WebLogic Server - Version 10.3.1 to 10.3.6
Information in this document applies to any platform.
JRF enabled WebLogic server domain is not picking up the application jar (classes) but rather seems to be loading its own jars and throwing exceptions after deployment due to a mismatch in the spring version classes with the jars in the application. For some reason, the use of the JRF domain is overriding the application level prefer-application-packages settings and there by throwing exceptions.
The Issue here is after deploying a EAR application on WLS 10.3.4 the below exception is thrown in the stdout:
The application is using Spring 3 Framework and is configured to use prefer-application-packages to let Weblogic know to load the spring libraries from the application directories. So the issue here is that even after setting the prefer-application-packages , the above mentioned error is thrown.
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