I am attempting to develop a webapp using Oracle's OEPE distribution, using Weblogic 10.3.5. Unfortunately, Weblogic is silently overriding the Spring 3.1.1.RELEASE versions specified in my Maven POM with 2.5.6.SEC01. I have attempted to override this in the weblogic.xml file.
I am using Oracle's OEPE 11gR(whatever) that uses a Weblogic 10.3.5 server, integrated with Eclipse already. I am using version 3.1.1.RELEASE of all Spring libraries, with the exception of Spring Security, which is at 3.1.0.RELEASE since it didn't update to 3.1.1 with all of the other Spring components. These libraries are specified in my Maven pom.xml file. Looking at the project /target directory, I can confirm that the only Spring versions in the relevant /lib directory at 3.1.1.RELEASE (except for Spring Security at 3.1.0.RELEASE).
Unfortunately, on application deployment, the following error occurs:
In my weblogic.xml file, I have attempted to override Weblogic's built-in libraries:
08:07:18.344 [[ACTIVE] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR o.s.s.core.SpringSecurityCoreVersion - *** Spring Major version '3' expected, but you are running with version: 2.5.6.SEC01. Please check your classpath for unwanted jar files.
(Note that I've tried both methods: <prefer-application-packages> and <prefer-web-inf-classes>).
I threw a quick Scriptlet call in my index.jsp file as a call to SpringVersion.getVersion() and can confirm that the application is running 2.5.6.SEC01, regardless of my POM or my weblogic.xml. This is wreaking havoc on certain other components of the application.
Has anyone else run into a similar problem?