2 kaidishi kaidishi 于 2013.09.21 17:42 提问

求救- -!SSH项目错误

问题描述:
1这个错误是用户登录后,点击某个功能时出现的
2奇怪的是只有一部分用户出现这个问题,其他用户使用这个功能无问题
3该项目在2台机器上部署的,其中一台完全没问题,而另一台却出现上述问题
4试过用无问题的那台机器连接有问题的机器上的数据库,并无出现错误,排除数据出错原因

错误提示
java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor977.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:452) at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:291) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:254) at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:176) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248) 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:248) at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:133) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248) at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:207) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248) at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:207) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248) at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:190) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248) at org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248) at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:94) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248) at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:243) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248) at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248) at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:141) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248) at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:267) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248) at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:142) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248) at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:166) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248) at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:176) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248) at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248) at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:190) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248) at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:187) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248) at com.gdcy.interceptor.LoginedCheckInterceptor.intercept(LoginedCheckInterceptor.java:48) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248) at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52) at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:485) at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77) at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) 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:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1813) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.StackOverflowError at java.lang.StringBuffer.append(StringBuffer.java:224) at antlr.BaseAST.toStringList(BaseAST.java:341) at antlr.BaseAST.toStringList(BaseAST.java:347) at antlr.BaseAST.toStringList(BaseAST.java:347) at antlr.BaseAST.toStringList(BaseAST.java:347) at antlr.BaseAST.toStringList(BaseAST.java:347) at ...(后面都重复这个错误)

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!
其他相关推荐
ssh2项目报错原因:浏览器栏中输入的路径不对
Struts Problem Report Struts has detected an unhandled exception: Messages: There is no Action mapped for namespace [/] and action name [user_listUI] associated with context path [/itcas
ssh整合项目启动报错
这个错误整了我好久,我也是刚刚入门,复制了以前的代码,运行不出来了,然后找了一些资料,发现这个问题,,,
SSH项目中异常处理与日志记录
1.找出应用异常,再写出自定义异常类。所谓应用异常就是系统的可预见的各种异常。如用户登录密码错误,注册时用户名有重复等。自定义异常类一般继承于RuntimeException,这样便于捕捉到后不用再在方法上申明抛出。 2.捕捉低级异常转成自定义的应用异常再抛出。这里就是把用户看不懂的异常描述换成用户看得懂的描述。其它不可预见的异常就统一全抛出。 3.在struts配置文件里配置
解决Windows系统从GitHub中clone项目时失败报ssh错误的问题
场景系统:Windows7系统Git工具:Git for Windows(https://gitforwindows.org/)问题描述前段时间还用着Git for Windows好好的,能够从GitHub上clone代码,也能push代码到GitHub,但是近来突然发现,使用Git for Windows不能从GitHub上clone项目,也无法push代码到GitHub上面,具体的报错如下图:...
[总结]配置ssh项目遇到的问题
hibernate.cfg.xml中 org.hibernate.dialect.MySQLDialect
【SSH】错误锦集
在SSH网上商城项目中,遇到了很多错误,在此做出总结:   (1) Access denied for user 'root'@'localhost' (usingpassword: YES) 错误原因:安装mysql过程中配置错误,未给localhost用户授权 新建一个localhost root用户,然后授权给他 createuser 'root'@'localhost' ide
SSH 整合报sessionfactory的错误以及解决方案
SSH 整合报sessionfactory的错误以及解决方案 开源中国 发表于 2014-08-30 22:36:21 org.springframework.beans.factory.BeanCreationException:   Error   creating   bean   with   name   'sessionFactory '   de
ssh项目中经常出现的问题
在进行ssh项目的开发过程中,往往会出现很多问题,我就把我所遇到的问题一一罗列在此,供大家参考 1、在对service层进行公共方法抽取的过程中,将CategoryService中的所有方法抽取到BaseService中,此时也应该将BaseService进行事务管理,否则就会获取不到session。 CategoryServiceImpl.java public class Cat
完整的ssh项目 完整的ssh项目
完整的ssh项目 完整的ssh项目完整的ssh项目 完整的ssh项目完整的ssh项目 完整的ssh项目
ssh开发常见错误总结(转)
-