Home > Back-end >  Error: org. Apache. Jasper. JasperException: An exception occurred processing the JSP page
Error: org. Apache. Jasper. JasperException: An exception occurred processing the JSP page

Time:12-08

For SpringMVC project, this error is the problem that the JSP page? Thank you very much!
Org. Apache. Jasper. JasperException: An exception occurred processing JSP page [/index. The JSP] at the line [20]

17: & lt;/head>
18: & lt; body>
19:
20: & lt; Form: the form id="loginForm modelAttribute"="login" action="loginProcess. Do
"21: method="post" & gt;
22: & lt; The table the align="center" & gt;
23: & lt; tr>


Stacktrace:
Org. Apache. Jasper. Servlet. JspServletWrapper. HandleJspException (JspServletWrapper. Java: 584)
Org. Apache. Jasper. Servlet. JspServletWrapper. Service (476) JspServletWrapper. Java:
Org. Apache. Jasper. Servlet. JspServlet. ServiceJspFile (JspServlet. Java: 386)
Org. Apache. Jasper. Servlet. JspServlet. Service (330) JspServlet. Java:
Javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 742)
Org, apache tomcat, websocket server. WsFilter. DoFilter (WsFilter. Java: 52)
Com. Maskkk. Filter. Utf8Filter. DoFilter (Utf8Filter. Java: 22)
Org. Apache. Logging. Log4j. Web. Log4jServletFilter. DoFilter (Log4jServletFilter. Java: 71)
Root Cause

Java. Lang. An IllegalStateException: No WebApplicationContext found: No ContextLoaderListener registered?
. Org. Springframework. Web context. Support. WebApplicationContextUtils. GetRequiredWebApplicationContext (WebApplicationContextUtils. Java: 90)
Org. Springframework. Web. Servlet. Support. RequestContextUtils. GetWebApplicationContext (RequestContextUtils. Java: 85)
Org. Springframework. Web. Servlet. Support. The RequestContext. InitContext (210) the RequestContext. Java:
Org. Springframework. Web. Servlet. Support. JspAwareRequestContext. InitContext (JspAwareRequestContext. Java: 74)
Org. Springframework. Web. Servlet. Support. JspAwareRequestContext. & lt; init> (JspAwareRequestContext. Java: 48)
Org. Springframework. Web. Servlet. Tags. RequestContextAwareTag. DoStartTag (RequestContextAwareTag. Java: 77)
Org. Apache. JSP. Index_jsp. _jspx_meth_form_005fform_005f0 (index_jsp. Java: 204)
Org. Apache. JSP. Index_jsp. _jspService (index_jsp. Java: 152)
Org. Apache. Jasper. Runtime. HttpJspBase. Service (HttpJspBase. Java: 70)
Javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 742)
Org. Apache. Jasper. Servlet. JspServletWrapper. Service (443) JspServletWrapper. Java:
Org. Apache. Jasper. Servlet. JspServlet. ServiceJspFile (JspServlet. Java: 386)
Org. Apache. Jasper. Servlet. JspServlet. Service (330) JspServlet. Java:
Javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 742)
Org, apache tomcat, websocket server. WsFilter. DoFilter (WsFilter. Java: 52)
Com. Maskkk. Filter. Utf8Filter. DoFilter (Utf8Filter. Java: 22)
Org. Apache. Logging. Log4j. Web. Log4jServletFilter. DoFilter (Log4jServletFilter. Java: 71)

Log4j2. XML is such a configuration:
 
<? The XML version="1.0" encoding="utf-8"?>





















  • Related