struts2升级
Struts2升级步骤
赵国正 2018年7月9日
目录
版本介绍
• 下载地址:/download.cgi#struts2516
• [WW-4546] - unclosed instantiation of PrintWriter • [WW-4741] - Http Sessions forcefully created for all requests using I18nInterceptor with default Storage value. • [WW-4873] - NotSerializableException - org.apache.struts2.dispatcher.StrutsRequestWrapper
升级须知
• 升级需要把struts2.5.16相关的jar文件下载并加入到项目 中 • 检查项目是否其他的框架需要升级 • 检查中间件版本
• 检查是否配置了拦截器
升级步骤
• 替换jar包
升级 JDK1.7.43
注意事项
• 升级过程中一定要考虑到其他依赖包小版本的问题 • 升级过程中一定要配置拦截器 • 升级过程中一定要考虑到其他依赖框架的版本问题
• [WW-4900] - NotSerializableException: com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector when using ExecuteAndWait interceptor
• [WW-4901] - ClassCastException in JarEntryRevision • [WW-4903] - Dependency Mapping Exception When Using PrefixBasedActionProxyFactory • [WW-4906] - The converter() method of com.opensymphony.xwork2.conversion.annotations.TypeConversion is now deprecated. If this method is removed in some next release, it will forbid to describe a converter by the name (id) of a Spring bean. • [WW-4908] - Conversion by annotation does not work • [WW-4909] - List of Boolean is not populated in Action class • [WW-4911] - JSONResult exception in struts2-json-plugin-2.5.14.1.jar • [WW-4918] - buttons with name="method:METHODNAME" sometimes ignore global-allowed-methods defined in struts.xml • [WW-4920] - Could not create JarEntryRevision for [zip:C:/.... unknown protocol c • [WW-4921] - NPE in I18nInterceptor$SessionLocaleHandler.read