I am attempting to use OEPE to create a Spring-based application. Specifically, I am attempting to use Spring 3.1.1.RELEASE.
Unfortunately, I receive the following error message on server startup:
14:56:26.664 [[ACTIVE] ExecuteThread: '4' 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.
In my deployment directory, all of the Spring files at version 3.1.1.RELEASE.
I've tried two separate means in weblogic.xml to make the server use my version (note: one of the means I am using is commented out below, but I have tried both):
I'm assuming you're pointing at the section referencing Project Facets. However, the Spring version I'm using is 3.1, and the highest option I have to select from in the Facet configuration is 3.1. Eclipse is quite glad to tell me these aren't compatible and not let me go any further.
All I need is Weblogic to honor my <prefer-application-packages> section, or for <prefer-web-inf-classes> to work so I can use the version of Spring I want to use, instead of the version Oracle has decided I will use.