3 Replies Latest reply on Jul 20, 2012 4:25 PM by dvohra21

    Overriding Spring Version In OEPE

    DartmanX
      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):

      <pre>
           <wls:container-descriptor>
                <wls:prefer-application-packages>
                     <wls:package-name>com.oracle.ojdbc16.*</wls:package-name>
                     <wls:package-name>antlr.*</wls:package-name>
                     <wls:package-name>javax.persistence.*</wls:package-name>
                     <wls:package-name>org.apache.*</wls:package-name>
                     <wls:package-name>org.springframework.*</wls:package-name>
                     <wls:package-name>org.hibernate.*</wls:package-name>
                     <wls:package-name>org.apache.xerces.*</wls:package-name>
                </wls:prefer-application-packages>
                <!-- <wls:prefer-web-inf-classes>true</wls:prefer-web-inf-classes> -->
           </wls:container-descriptor>
      </pre>

      Can anyone help?