Step1:- Replace Spring.jar with the following spring 3 jars
• org.springframework.aop-3.0.5.RELEASE.jar• org.springframework.asm-3.0.5.RELEASE.jar
• org.springframework.context-3.0.5.RELEASE.jar
• org.springframework.core-3.0.5.RELEASE.jar
• org.springframework.expression-3.0.5.RELEASE.jar
• org.springframework.web.servlet-3.0.5.RELEASE.jar
• org.springframework.web-3.0.5.RELEASE.jar
• org.springframework.beans-3.0.5.RELEASE.jar
• aopalliance-1.0.jar
Step2:-Make changes to the following files in your WAR file
• In Spring Bean definitions XML
1. Replace root element with the following text.
<beans xmlns="http://www.springframework.org/schema/beans"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
2. Change singleton="false" to scope="prototype" if present;
spring-beans-3.0.xsd does not support singleton="true"/"false".Read the Spring 3 upgrade reference guide for more details.
spring-framework-upgrade.pdf