从springframework 2.5.6迁移到3.2.8后重定向视图时出现错误404
我已经将我的应用程序从springframework 2.5.6迁移到3.2.8,保留了所有相同的控制器和配置文件 我刚刚更改了XML模式文件从springframework 2.5.6迁移到3.2.8后重定向视图时出现错误404,spring,spring-mvc,migration,Spring,Spring Mvc,Migration,我已经将我的应用程序从springframework 2.5.6迁移到3.2.8,保留了所有相同的控制器和配置文件 我刚刚更改了XML模式文件 <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" x
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
到
和替换jar文件:
<include name="**/spring-2.5.6.jar"/>
<include name="**/spring-webmvc-2.5.6.jar"/>
与
但将一个控制器重定向到另一个控制器不再工作,我得到一个错误404
谢谢这包括**/spring/spring-instrument-3.2.8.RELEASE.jar.jar看起来不合适。jar是双重的需要更多详细信息:重定向代码、错误日志等。。。
<include name="**/spring-2.5.6.jar"/>
<include name="**/spring-webmvc-2.5.6.jar"/>
<include name="**/spring/spring-core-3.2.8.RELEASE.jar"/>
<include name="**/spring/spring-web-3.2.8.RELEASE.jar"/>
<include name="**/spring/spring-webmvc-3.2.8.RELEASE.jar"/>
<include name="**/spring/spring-aop-3.2.8.RELEASE.jar"/>
<include name="**/spring/spring-beans-3.2.8.RELEASE.jar"/>
<include name="**/spring/spring-context-3.2.8.RELEASE.jar"/>
<include name="**/spring/spring-context-support-3.2.8.RELEASE.jar"/>
<include name="**/spring/spring-expression-3.2.8.RELEASE"/>
<include name="**/spring/spring-jdbc-3.2.8.RELEASE.jar"/>
<include name="**/spring/spring-orm-3.2.8.RELEASE.jar"/>
<include name="**/spring/spring-jdbc-3.2.8.RELEASE.jar"/>
<include name="**/spring/spring-tx-3.2.8.RELEASE.jar"/>
<include name="**/spring/spring-instrument-3.2.8.RELEASE.jar"/>