Home > Back-end >  The Servlet service () for the Servlet SearchCustomer threw the exception
The Servlet service () for the Servlet SearchCustomer threw the exception

Time:11-25

September 4, 2020 afternoon 2:20:20 org. Apache. Catalina. Core. StandardWrapperValve invoke
Severe: Servlet service () for the Servlet SearchCustomer threw the exception
Java. Lang. RuntimeException
At com. Mag. Util. SqlHelper. ExecuteQuery (SqlHelper. Java: 179)
At com. Mag. Service. The CustomerService. GetAllCustomers (CustomerService. Java: 59)
At com. Mag. Servlet. SearchCustomer. DoGet (42 SearchCustomer. Java:)
At com. Mag. Servlet. SearchCustomer. DoPost (SearchCustomer. Java: 54)
The at javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 643)
The at javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 723)
The at org. Apache. Catalina. Core. ApplicationFilterChain. InternalDoFilter (ApplicationFilterChain. Java: 290)
The at org. Apache. Catalina. Core. ApplicationFilterChain. DoFilter (ApplicationFilterChain. Java: 206)
At com. Mag. Filter. MyFilter. DoFilter (MyFilter. Java: 21)
The at org. Apache. Catalina. Core. ApplicationFilterChain. InternalDoFilter (ApplicationFilterChain. Java: 235)
The at org. Apache. Catalina. Core. ApplicationFilterChain. DoFilter (ApplicationFilterChain. Java: 206)
The at org. Apache. Catalina. Core. StandardWrapperValve. Invoke (StandardWrapperValve. Java: 233)
The at org. Apache. Catalina. Core. StandardContextValve. Invoke (StandardContextValve. Java: 191)
The at org. Apache. Catalina. Core. StandardHostValve. Invoke (StandardHostValve. Java: 127)
The at org. Apache. Catalina. Valves. ErrorReportValve. Invoke (ErrorReportValve. Java: 103)
The at org. Apache. Catalina. Core. StandardEngineValve. Invoke (StandardEngineValve. Java: 109)
At org. Apache. Catalina. Connector. CoyoteAdapter. Service (293) CoyoteAdapter. Java:
The at org. Apache. Coyote. Http11. Http11AprProcessor. Process (Http11AprProcessor. Java: 879)
The at org. Apache. Coyote. Http11. Http11AprProtocol $Http11ConnectionHandler. Process (Http11AprProtocol. Java: 617)
At org.apache.tomcat.util.net.AprEndpoint$Worker.run AprEndpoint. Java: (1774)
The at Java. Lang. Thread. The run (Thread. Java: 745)

This is where the wrong ah, have a great god help have a look

CodePudding user response:

Com. Mag. Util. SqlHelper. ExecuteQuery (SqlHelper. Java: 179)

CodePudding user response:

SQL query statement printed see wrong

CodePudding user response:

Check this code inside the corresponding sqlMapper statement is changed or not

CodePudding user response:

GetAllCustomers (CustomerService. Java: 59)

CodePudding user response:

refer to the second floor qq_38549201 response:
SQL query statement printed wrong see

Statement I tried, no problem
  • Related