1. 删除以下jar包
asm-3.1.jar
asm-commons-3.1.jar
commons-beanutils-1.7.0.jar
commons-fileupload-1.2.2.jar
commons-io-1.3.2.jar
commons-lang-2.3.jar
commons-logging-1.1.jar
ognl-3.0.1.jar
struts2-convention-plugin-2.2.3.jar
struts2-core-2.2.3.jar
struts2-embeddedjsp-plugin-2.2.3.jar
struts2-spring-plugin-2.2.3.jar
wsdl4j-1.6.1.jar
xwork-core-2.2.3.jar
2. 增加以下jar包
asm-3.3.jar
asm-commons-3.3.jar
commons-beanutils-1.8.0.jar
commons-fileupload-1.3.jar
commons-io-2.0.1.jar
commons-lang-2.4.jar
commons-lang3-3.1.jar
commons-logging-1.1.3.jar
ognl-3.0.6.jar
struts2-convention-plugin-2.3.15.1.jar
struts2-core-2.3.15.1.jar
struts2-jasperreports-plugin-2.3.15.1.jar
struts2-spring-plugin-2.3.15.1.jar
wsdl4j-1.6.3.jar
xwork-core-2.3.15.1.jar

3.struts.xml
设置devMode为false。
<constantname="struts.devMode"value="false"/>

4.所有validation.xml的声明需要修改为:

<!DOCTYPE validators PUBLIC
        "-//Apache Struts//XWork Validator 1.0.2//EN"
        "http://struts.apache.org/dtds/xwork-validator-1.0.2.dtd">



否则会出现以下异常:
[ERROR] 2013-07-23 17:06:58(41144) --> [http-8080-3] com.opensymphony.xwork2.util.logging.commons.CommonsLogger.error(CommonsLogger.java:38): Caught exception while loading file cn/test/action/UserLoginAction-login-validation.xml  

Connection timed out: connect - [unknown location]


at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:119)


at com.opensymphony.xwork2.validator.DefaultValidatorFileParser.parseActionValidatorConfigs(DefaultValidatorFileParser.java:82)


at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.loadFile(AnnotationActionValidatorManager.java:394)


at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.buildAliasValidatorConfigs(AnnotationActionValidatorManager.java:271)


at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.buildValidatorConfigs(AnnotationActionValidatorManager.java:374)


at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.getValidators(AnnotationActionValidatorManager.java:102)


at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.validate(AnnotationActionValidatorManager.java:141)


at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.validate(AnnotationActionValidatorManager.java:133)


at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.validate(AnnotationActionValidatorManager.java:128)


at com.opensymphony.xwork2.validator.ValidationInterceptor.doBeforeInvocation(ValidationInterceptor.java:222)


at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:263)


at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)


at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)


at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:138)


at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:239)


at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)


at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:239)


at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)


at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:191)


at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


at org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:73)


at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:91)


at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:252)


at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100)


at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:141)


at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:145)


at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:171)


at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)


at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:161)


at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)


at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:193)


at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:189)


at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54)


at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:563)


at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)


at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99)


at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)


at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)


at cn.chinadoi.manage.common.filter.ManageFilter.doFilter(ManageFilter.java:68)


at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)


at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)


at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)


at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)


at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)


at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)


at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)


at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)


at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)


at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)


at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)


at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)


at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)


at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)


at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)


at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)


at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:877)


at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:594)


at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675)


at java.lang.Thread.run(Thread.java:619)

Caused by: java.net.ConnectException: Connection timed out: connect


at java.net.PlainSocketImpl.socketConnect(Native Method)


at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)


at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)


at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)


at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)


at java.net.Socket.connect(Socket.java:519)


at java.net.Socket.connect(Socket.java:469)


at sun.net.NetworkClient.doConnect(NetworkClient.java:163)


at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)


at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)


at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)


at sun.net.www.http.HttpClient.New(HttpClient.java:306)


at sun.net.www.http.HttpClient.New(HttpClient.java:323)


at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:790)


at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:731)


at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:656)


at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:979)


at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:677)


at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1315)


at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:1282)


at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:283)


at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(XMLDocumentScannerImpl.java:1192)


at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(XMLDocumentScannerImpl.java:1089)


at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1002)


at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)


at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)


at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)


at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)


at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)


at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)


at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)


at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)


at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)


at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:117)


... 73 more

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

struts2从2.2.3升级到2.3.15.1步骤的更多相关文章

  1. Struts升级到2.3.15.1抵抗漏洞

    后知后觉,今天才开始修复Struts2的漏洞 详细情形可以参考: http://struts.apache.org/release/2.3.x/docs/security-bulletins.html ...

  2. Centos 6.5升级到Git2.1.2的步骤

    Centos 6.5升级到Git2.1.2的步骤 Centos 6.5升级到Git2.1.2其实是非常的简单,因这款版本控制程序非常的好用,所以小编自己也是使用它了,下面一起来看看Centos 6.5 ...

  3. Python 2.6.6升级到Python2.7.15

    最近在使用Python处理MySQL数据库相关问题时,需要用到Python2.7.5及以上版本,而centos6.5等版本操作系统默认自带的版本为2.6.6,因此需要对python进行升级. Pyth ...

  4. Struts2从版本2.2.1升级至2.3.15.1出现的问题

    问题一 原版本Struts2.2.1中的JSP代码如下: <a class="buttonSelect" href="/manage/machine/uploadF ...

  5. Struts2漏洞拉响网站安全红色警报以及把Struts2更新为最新版本Struts2.3.15.1步骤

    360网站安全检测平台今日发布红色警报称,广泛应用在国内大型网站系统的Struts2框架正在遭到黑客猛烈攻击.利用Struts2“命令执行漏洞”,黑客可轻易获得网站服务器ROOT权限.执行任意命令,从 ...

  6. Struts2 高危漏洞补丁版本为: Struts 2.3.15.1

    Struts2 昨天爆出高危漏洞,黑客利用这个漏洞可以执行任意命令(包括恶意的jsp代码),轻松绕过您的验证系统,登陆您的网站后台,使您的网站后台密码形同虚设!! 目前Struts2官方已经发布了一个 ...

  7. 升级SUSE Linux内核的完整步骤!

    http://blog.sina.com.cn/s/blog_491529d60100061h.html 安装完SLED 10后发现仍然有“热启动网络不通”的问题,原因是内核版本较低,于是升级到2.6 ...

  8. Windows 版本下 Oracle12.1.0.2 升级Oracle12.2.0.1的步骤

    oracle12.1.0.1 2013年发布的产品 2014年左右发布12.1.0.2 2016年底发布了 oracle12.2.0.1 经常有人会安装了最早的oracle版本,然后需要升级到最新的o ...

  9. Linux系统Domino704升级为901 64位的步骤及注意事项

     [背景] 随便系统业务量的不断增大,应用数据库越来越多.与第三方接口的需求越来越多.文档量越来越多,32位的domino对server的利用率已无法满足系统需求的日益增长,低版本号的domino ...

随机推荐

  1. phpmyadmin连接,管理多个mysql服务器

    方法一,修改phpMyAdmin/libraries/config.default.php 修改配置文件前,最好先备份一下,万一改错地方了,显示不了,就郁闷了. /** * allow login t ...

  2. PostGreSQL存储过程

    1 返回结果集的存储过程 -- drop FUNCTION getall();CREATE or REPLACE FUNCTION getall() RETURNS SETOF users  AS$B ...

  3. 常用linux指令

    删除:rm -rf -r 就是向下递归,不管有多少级目录,一并删除       -f 就是直接强行删除,不作任何提示的意思 压缩解压:tar -c: 建立压缩档案 -x:解压 -t:查看内容 -r:向 ...

  4. 清空form表单下所有的input值-------------jquery

    $(':input','#' + formid).not(':button, :submit, :reset').val('').removeAttr('checked').removeAttr('s ...

  5. 【.net】关于RegexOptions中的各个枚举值的含义

      Member name Description   Compiled Specifies that the regular expression is compiled to an assembl ...

  6. 基本套接字编程(3) -- select篇

    1. I/O复用 我们学习了I/o复用的基本知识,了解到目前支持I/O复用的系统调用有select.pselect.poll.epoll.而epoll技术以其独特的优势被越来越多的应用到各大企业服务器 ...

  7. hdoj 1874 畅通工程续

    Problem Description 某省自从实行了很多年的畅通工程计划后,终于修建了很多路.不过路多了也不好,每次要从一个城镇到另一个城镇时,都有许多种道路方案可以选择,而某些方案要比另一些方案行 ...

  8. Android 隐藏软键盘方法

    第一种:public static void hideInput(Activity activity) { View curFoc = activity.getCurrentFocus(); if ( ...

  9. [leetcode 23]Merge k Sorted Lists

    1 题目 Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexi ...

  10. 【原创】注册assembly 到GAC

    http://msdn.microsoft.com/en-us/library/dkkx7f79.aspx http://stackoverflow.com/questions/2182316/how ...