问题描述
- 求高手解惑java.lang.reflect.InvocationTargetException
-
2015-06-24 09:23:35,527 ERROR [STDERR] java.lang.reflect.InvocationTargetException
2015-06-24 09:23:35,531 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2015-06-24 09:23:35,531 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2015-06-24 09:23:35,531 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2015-06-24 09:23:35,531 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:616)
2015-06-24 09:23:35,531 ERROR [STDERR] at com.pt.commons.tools.ReflectionUtils.InvokeMethod(ReflectionUtils.java:173)
2015-06-24 09:23:35,531 ERROR [STDERR] at com.pt.service.commons.ApplicationController.Service(ApplicationController.java:570)
2015-06-24 09:23:35,531 ERROR [STDERR] at com.pt.servlet.FrontController.doGet(FrontController.java:205)
2015-06-24 09:23:35,531 ERROR [STDERR] at com.pt.servlet.FrontController.doPost(FrontController.java:261)
2015-06-24 09:23:35,531 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
2015-06-24 09:23:35,531 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
2015-06-24 09:23:35,531 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
2015-06-24 09:23:35,531 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2015-06-24 09:23:35,531 ERROR [STDERR] at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
2015-06-24 09:23:35,532 ERROR [STDERR] at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
2015-06-24 09:23:35,532 ERROR [STDERR] at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)
2015-06-24 09:23:35,532 ERROR [STDERR] at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
2015-06-24 09:23:35,532 ERROR [STDERR] at com.util.MyFilter.doFilter(MyFilter.java:44)
2015-06-24 09:23:35,532 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
2015-06-24 09:23:35,532 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2015-06-24 09:23:35,532 ERROR [STDERR] at com.pt.servlet.filter.LoginFilter.doFilter(LoginFilter.java:52)
2015-06-24 09:23:35,532 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
2015-06-24 09:23:35,532 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2015-06-24 09:23:35,532 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
2015-06-24 09:23:35,532 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
2015-06-24 09:23:35,532 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2015-06-24 09:23:35,532 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
2015-06-24 09:23:35,532 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
2015-06-24 09:23:35,532 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
2015-06-24 09:23:35,532 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
2015-06-24 09:23:35,532 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
2015-06-24 09:23:35,533 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
2015-06-24 09:23:35,533 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
2015-06-24 09:23:35,533 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
2015-06-24 09:23:35,533 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
2015-06-24 09:23:35,533 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
2015-06-24 09:23:35,533 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
2015-06-24 09:23:35,533 ERROR [STDERR] at java.lang.Thread.run(Thread.java:636)
2015-06-24 09:23:35,534 ERROR [STDERR] Caused by: com.pt.commons.entity.ExceptionEx: TIMEOUT
2015-06-24 09:23:35,534 ERROR [STDERR] at com.pt.service.business.service.impl.commons.ImplEmployeeDataService.saveEmployeeInfo(ImplEmployeeDataService.java:433)
2015-06-24 09:23:35,534 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2015-06-24 09:23:35,534 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2015-06-24 09:23:35,534 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2015-06-24 09:23:35,534 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:616)
2015-06-24 09:23:35,534 ERROR [STDERR] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
2015-06-24 09:23:35,534 ERROR [STDERR] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
2015-06-24 09:23:35,534 ERROR [STDERR] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
2015-06-24 09:23:35,534 ERROR [STDERR] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
2015-06-24 09:23:35,534 ERROR [STDERR] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
2015-06-24 09:23:35,534 ERROR [STDERR] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
2015-06-24 09:23:35,534 ERROR [STDERR] at $Proxy168.saveEmployeeInfo(Unknown Source)
2015-06-24 09:23:35,534 ERROR [STDERR] ... 37 more
解决方案
有大神么? 网上有的说是log4j包与slf4j-log4j12包 有冲突,是这样的么?
解决方案二:
把你出错误的地方的代码贴出来看下。
时间: 2024-11-03 18:01:23