升级Struts,从2.1.8到2.3.16.1,过程实录
来源:互联网 发布:淘宝上有做假发票的吗 编辑:程序博客网 时间:2024/05/16 10:13
1、替换JAR包
使用新版本的JAR包:
struts2-core-2.3.16.1.jar
xwork-core-2.3.16.1.jar
ognl-3.0.6.jar
替换原JAR包:
struts2-core-2.1.8.jar
xwork-2.1.5.jar
ognl-2.6.11.jar
需要新增的JAR包:
commons-lang3-3.1.jar
javassist-3.11.0.GA.jar
2、升级DOCTYPE
将struts.xml中的“2.0”升级为“2.3”。
3、修改web.xml
去掉web.xml中的ActionContextCleanUp,否则会报错:
>>> ActionContextCleanUp <<< is deprecated! Please use the new filters!
4、重新编译,运行测试
使用新版本的JAR包:
struts2-core-2.3.16.1.jar
xwork-core-2.3.16.1.jar
ognl-3.0.6.jar
替换原JAR包:
struts2-core-2.1.8.jar
xwork-2.1.5.jar
ognl-2.6.11.jar
需要新增的JAR包:
commons-lang3-3.1.jar
javassist-3.11.0.GA.jar
2、升级DOCTYPE
将struts.xml中的“2.0”升级为“2.3”。
3、修改web.xml
去掉web.xml中的ActionContextCleanUp,否则会报错:
>>> ActionContextCleanUp <<< is deprecated! Please use the new filters!
4、重新编译,运行测试
0 0
- 升级Struts,从2.1.8到2.3.16.1,过程实录
- Struts从2.1升级到2.3版本过程
- Struts从2.1升级到2.3版本过程
- Struts从2.1升级到2.3版本过程
- Struts从2.1升级到2.3版本过程
- 升级Hibernate,从3到4.2,过程实录
- 升级Spring,从2.5.5至3.2.8,过程实录
- 升级Spring从2.5.6至3.1.2过程实录
- 升级Spring从2.5.6至3.1.2过程实录
- 从struts 1.x升级到 struts 2(二) POJO
- 从struts 1.x升级到 struts 2(三) OGNL
- CentOS6.5 64位GCC从4.4.2升级到4.8.5实录
- CentOS6.5 64位GCC从4.4.2升级到4.8.5实录
- struts升级到2.3出现各种问题
- 从struts 1.x升级到 struts 2(一) 第一个程序
- LX3 日本版本 转成 英文界面 并从2.1固件升级到2.2过程
- 从SQL Server2000升级到2005的过程解析
- Centos7 内核从3.10升级到4.12过程
- 2010-07-02 11:47 关于C3P0容错和自动重连特性的研究
- VC文本折行输出,计算行数。
- 多线程的那点儿事(之多核编程)
- WEB架构师成长之路之三-架构师都要懂哪些知识
- Struts2教程1:第一个Struts2程序
- 升级Struts,从2.1.8到2.3.16.1,过程实录
- IPV6基本知识
- 用cycript钩住支付宝进程的一些操作
- 【转】tmux使用
- SOAP接口相关知识介绍
- 什么是对象,为什么要面向对象,怎么才能面向对象?
- 基于apache ant工程的Jacoco覆盖率工具使用之ant 脚本编写
- 多线程的那点儿事(之优先级反转)
- Graphic is already associated with another layer