Java. Lang. RuntimeException
At com. Itheima. Web. Servlet. Base. BaseServlet. Service (39) BaseServlet. Java:
The at javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 728)
The at org. Apache. Catalina. Core. ApplicationFilterChain. InternalDoFilter (ApplicationFilterChain. Java: 305)
The at org. Apache. Catalina. Core. ApplicationFilterChain. DoFilter (ApplicationFilterChain. Java: 210)
The at org. Apache. Catalina. Core. ApplicationDispatcher. Invoke (ApplicationDispatcher. Java: 749)
The at org. Apache. Catalina. Core. ApplicationDispatcher. The processRequest (ApplicationDispatcher. Java: 487)
The at org. Apache. Catalina. Core. ApplicationDispatcher. DoForward (ApplicationDispatcher. Java: 412)
The at org. Apache. Catalina. Core. ApplicationDispatcher. Forward (ApplicationDispatcher. Java: 339)
The at org. Apache. Jasper. Runtime. PageContextImpl. DoForward (PageContextImpl. Java: 746)
The at org. Apache. Jasper. Runtime. PageContextImpl. Forward (PageContextImpl. Java: 716)
The at org. Apache. JSP. Index_jsp. _jspService (index_jsp. Java: 75)
The at org. Apache. Jasper. Runtime. HttpJspBase. Service (HttpJspBase. Java: 70)
The at javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 728)
At org. Apache. Jasper. Servlet. JspServletWrapper. Service (432) JspServletWrapper. Java:
The at org. Apache. Jasper. Servlet. JspServlet. ServiceJspFile (JspServlet. Java: 390)
At org. Apache. Jasper. Servlet. JspServlet. Service (334) JspServlet. Java:
The at javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 728)
The at org. Apache. Catalina. Core. ApplicationFilterChain. InternalDoFilter (ApplicationFilterChain. Java: 305)
The at org. Apache. Catalina. Core. ApplicationFilterChain. DoFilter (ApplicationFilterChain. Java: 210)
At com. Itheima. Web. Filter. EncodingFilter. DoFilter (EncodingFilter. Java: 36)
The at org. Apache. Catalina. Core. ApplicationFilterChain. InternalDoFilter (ApplicationFilterChain. Java: 243)
The at org. Apache. Catalina. Core. ApplicationFilterChain. DoFilter (ApplicationFilterChain. Java: 210)
The at org. Apache. Catalina. Core. StandardWrapperValve. Invoke (StandardWrapperValve. Java: 222)
The at org. Apache. Catalina. Core. StandardContextValve. Invoke (StandardContextValve. Java: 123)
The at org. Apache. Catalina. The authenticator. AuthenticatorBase. Invoke (AuthenticatorBase. Java: 502)
The at org. Apache. Catalina. Core. StandardHostValve. Invoke (StandardHostValve. Java: 171)
The at org. Apache. Catalina. Valves. ErrorReportValve. Invoke (ErrorReportValve. Java: 99)
The at org. Apache. Catalina. Valves. AccessLogValve. Invoke (AccessLogValve. Java: 953)
The at org. Apache. Catalina. Core. StandardEngineValve. Invoke (StandardEngineValve. Java: 118)
At org. Apache. Catalina. Connector. CoyoteAdapter. Service (408) CoyoteAdapter. Java:
The at org. Apache. Coyote. Http11. AbstractHttp11Processor. Process (AbstractHttp11Processor. Java: 1023)
The at org. Apache. Coyote. AbstractProtocol $AbstractConnectionHandler. Process (AbstractProtocol. Java: 589)
At org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run JIoEndpoint. Java: (310)
The at Java. Util. Concurrent. ThreadPoolExecutor $Worker. RunTask (ThreadPoolExecutor. Java: 886)
The at Java. Util. Concurrent. ThreadPoolExecutor $Worker. The run (ThreadPoolExecutor. Java: 908)
The at Java. Lang. Thread. The run (Thread. Java: 619)
CodePudding user response:
At com. Itheima. Web. Filter. EncodingFilter. DoFilter (EncodingFilter. Java: 36)This is a what things?
CodePudding user response:
I don't know what is, well I give up, I don't do it, too difficult, not for me, disturb grow handsomeCodePudding user response:
This kind of situation is due to the Maven configuration of tomcat, but there is no import JSP in the Maven project - API jar package, the eclipse complains, import the jar package after the eclipse will not complain, but will automatically when running tomcat JSP - API and javax.mail servlet - API import together, lead to repeated jar package, will appear as above problem,CodePudding user response:
Thank you, although I also don't understand theCodePudding user response:
I don't know..CodePudding user response:
Well I do new again today, anyone can teach me, how to use the dao, the service, the servlet to realize the function of a display the latest commodity in front page