Home > Back-end >  InvocationTargetException
InvocationTargetException

Time:10-08

Java. Lang. Reflect. InvocationTargetException
At sun. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
At sun. Reflect. NativeMethodAccessorImpl. Invoke (Unknown Source)
At sun. Reflect. DelegatingMethodAccessorImpl. Invoke (Unknown Source)
The at Java. Lang. Reflect. Method. Invoke (Unknown Source)
At com. Exam. Gm. Global. DispatcherServlet. Service (DispatcherServlet. Java: 48)
The at org. Apache. Catalina. Core. ApplicationFilterChain. InternalDoFilter (ApplicationFilterChain. Java: 231)
The at org. Apache. Catalina. Core. ApplicationFilterChain. DoFilter (ApplicationFilterChain. Java: 166)
At org, apache tomcat, websocket server WsFilter. DoFilter (WsFilter. Java: 52)
The at org. Apache. Catalina. Core. ApplicationFilterChain. InternalDoFilter (ApplicationFilterChain. Java: 193)
The at org. Apache. Catalina. Core. ApplicationFilterChain. DoFilter (ApplicationFilterChain. Java: 166)
At com. Exam. Gm. Global. EncodingFilter. DoFilter (EncodingFilter. Java: 17)
The at org. Apache. Catalina. Core. ApplicationFilterChain. InternalDoFilter (ApplicationFilterChain. Java: 193)
The at org. Apache. Catalina. Core. ApplicationFilterChain. DoFilter (ApplicationFilterChain. Java: 166)
The at org. Apache. Catalina. Core. StandardWrapperValve. Invoke (StandardWrapperValve. Java: 199)
The at org. Apache. Catalina. Core. StandardContextValve. Invoke (StandardContextValve. Java: 96)
The at org. Apache. Catalina. The authenticator. AuthenticatorBase. Invoke (AuthenticatorBase. Java: 493)
The at org. Apache. Catalina. Core. StandardHostValve. Invoke (StandardHostValve. Java: 137)
The at org. Apache. Catalina. Valves. ErrorReportValve. Invoke (ErrorReportValve. Java: 81)
The at org. Apache. Catalina. Valves. AbstractAccessLogValve. Invoke (AbstractAccessLogValve. Java: 660)
The at org. Apache. Catalina. Core. StandardEngineValve. Invoke (StandardEngineValve. Java: 87)
At org. Apache. Catalina. Connector. CoyoteAdapter. Service (343) CoyoteAdapter. Java:
At org. Apache. Coyote. Http11. Http11Processor. Service (798) Http11Processor. Java:
The at org. Apache. Coyote. AbstractProcessorLight. Process (AbstractProcessorLight. Java: 66)
The at org. Apache. Coyote. AbstractProtocol $ConnectionHandler. Process (AbstractProtocol. Java: 808)
At org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun NioEndpoint. Java: (1498)
The at org.apache.tomcat.util.net.SocketProcessorBase.run (SocketProcessorBase. Java: 49)
The at Java. Util. Concurrent. ThreadPoolExecutor. RunWorker (Unknown Source)
The at Java. Util. Concurrent. ThreadPoolExecutor $Worker. The run (Unknown Source)
At org, apache tomcat. Util. Threads. TaskThread $WrappingRunnable. Run (61) TaskThread. Java:
The at Java. Lang. Thread. The run (Unknown Source)
Under Caused by: org. Apache. Ibatis. Binding. BindingException: Invalid bound statement (not found) : com. Exam. Gm dao. GoodsDao. SelectAll
The at org. Apache. Ibatis. Binding. MapperMethod $SqlCommand. & lt; init> (MapperMethod. Java: 225)
The at org. Apache. Ibatis. Binding. MapperMethod. & lt; init> (MapperMethod. Java: 48)
The at org. Apache. Ibatis. Binding. MapperProxy. CachedMapperMethod (MapperProxy. Java: 65)
The at org. Apache. Ibatis. Binding. MapperProxy. Invoke (58) MapperProxy. Java:
At com. Sun. Proxy. $Proxy15. SelectAll (Unknown Source)
At com. Exam. Gm. Service. Impl. GoodsServiceImpl. GetAll (GoodsServiceImpl. Java: 33)
At sun. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
At sun. Reflect. NativeMethodAccessorImpl. Invoke (Unknown Source)
At sun. Reflect. DelegatingMethodAccessorImpl. Invoke (Unknown Source)
The at Java. Lang. Reflect. Method. Invoke (Unknown Source)
The at org. Springframework. Aop. Support. AopUtils. InvokeJoinpointUsingReflection (AopUtils. Java: 317)
The at org. Springframework. Aop. Framework. ReflectiveMethodInvocation. InvokeJoinpoint (ReflectiveMethodInvocation. Java: 190)
The at org. Springframework. Aop. Framework. ReflectiveMethodInvocation. Proceed (ReflectiveMethodInvocation. Java: 157)
The at org. Springframework. Transaction. The interceptor. TransactionInterceptor $1. ProceedWithInvocation (TransactionInterceptor. Java: 98)
The at org. Springframework. Transaction. The interceptor. TransactionAspectSupport. InvokeWithinTransaction (TransactionAspectSupport. Java: 262)
The at org. Springframework. Transaction. The interceptor. TransactionInterceptor. Invoke (TransactionInterceptor. Java: 95)
The at org. Springframework. Aop. Framework. ReflectiveMethodInvocation. Proceed (ReflectiveMethodInvocation. Java: 179)
The at org. Springframework. Aop. Interceptor. ExposeInvocationInterceptor. Invoke (ExposeInvocationInterceptor. Java: 92)
The at org. Springframework. Aop. Framework. ReflectiveMethodInvocation. Proceed (ReflectiveMethodInvocation. Java: 179)
The at org. Springframework. Aop. Framework. JdkDynamicAopProxy. Invoke (JdkDynamicAopProxy. Java: 207)
At com. Sun. Proxy. $Proxy17. GetAll (Unknown Source)
At com. Exam. Gm. Controller. GoodsController. List (20) GoodsController. Java:
. 30 more


The controller code
 public class DispatcherServlet extends GenericServlet {
Private ApplicationContext context;

Public void init () throws ServletException {
Super. The init ();
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related