Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  1. Take out the version number in the xsd(s) referenced in the xsi:schemaLocation:
    Code Block
    
    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd

...

  1. 
     http://www.springframework.org/schema/aop

...

  1.  http://www.springframework.org/schema/aop/spring-aop.xsd

...

  1.  
     http://www.springframework.org/schema/tx

...

  1.  http://www.springframework.org/schema/tx/spring-tx.xsd

...

  1. ">
    
    These xsd configurations will usually be found in the applicationContext.xml, servlet.xml and <web-app>-security.xml files.

  2. Modify the propertyConfigurer bean configuration to comply to the new class specification of the same bean in Spring 3.1.1:
    From:
    Code Block
    
    <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">

...

  1. 
     <property name="locations" value="file:$\{user.home\}/academic-ose-

...

  1. 
          reporting.properties" />

...

  1. 
    </bean>
    
    To:
    Code Block
    
     <bean id="propertyConfigurer" class="org.springframework.context.support.PropertySourcesPlaceholderConfigurer">

...

  1. 
     <property name="locations">

...

  1. 
        <list>
           <value>file:$\{user.home\}/academic-ose-reporting.properties</value>

...

  1. 
        </list>

...

  1. 
     </property>

...

  1. 
     <property name="ignoreResourceNotFound" value="true" />

...

  1.     
    </bean>
    
    The propertyConfigurer bean are found in applicationContext.xml, servlet.xml and may be applicationContext-test.xml.
  2. Delete the springframework dependencies in the pom.xml of the web application to use the transitive dependencies inherited from csf. The following is the list of spring 3.1.1 dependencies defined in csf:

...