Home > Back-end >  HTTP Status 500 - Unable to compile class for JSP fault how to solve
HTTP Status 500 - Unable to compile class for JSP fault how to solve

Time:10-03

HTTP Status 500 - Unable to compile class for JSP


Type Exception report

The message Unable to compile class for JSP

Description The server encountered an internal error that prevented it from fulfilling this request.

The exception
Org. Apache. Jasper. JasperException: Unable to compile class for JSP
Org.apache.jasper.JspCompilationContext.com from running (JspCompilationContext. Java: 661)
Org. Apache. Jasper. Servlet. JspServletWrapper. Service (357) JspServletWrapper. Java:
Org. Apache. Jasper. Servlet. JspServlet. ServiceJspFile (JspServlet. Java: 390)
Org. Apache. Jasper. Servlet. JspServlet. Service (334) JspServlet. Java:
Javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 728)
Org, apache tomcat, websocket server. WsFilter. DoFilter (WsFilter. Java: 51)
Org. Springframework. Web. Servlet. The InternalResourceView. RenderMergedOutputModel (InternalResourceView. Java: 168)
Org. Springframework. Web. Servlet. The AbstractView. Render (AbstractView. Java: 303)
Org. Springframework. Web. Servlet. DispatcherServlet. Render (DispatcherServlet. Java: 1243)
Org. Springframework. Web. Servlet. DispatcherServlet. ProcessDispatchResult (DispatcherServlet. Java: 1027)
Org. Springframework. Web. Servlet. DispatcherServlet. DoDispatch (DispatcherServlet. Java: 971)
Org. Springframework. Web. Servlet. DispatcherServlet. DoService (DispatcherServlet. Java: 893)
Org. Springframework. Web. Servlet. FrameworkServlet. The processRequest (FrameworkServlet. Java: 969)
Org. Springframework. Web. Servlet. FrameworkServlet. DoGet (FrameworkServlet. Java: 860)
Javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 621)
Org. Springframework. Web. Servlet. FrameworkServlet. Service (845) FrameworkServlet. Java:
Javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 728)
Org, apache tomcat, websocket server. WsFilter. DoFilter (WsFilter. Java: 51)
Org. Springframework. Web. Filter. CharacterEncodingFilter. DoFilterInternal (CharacterEncodingFilter. Java: 121)
Org. Springframework. Web. Filter. OncePerRequestFilter. DoFilter (OncePerRequestFilter. Java: 107)
Root cause

Java. Lang. ClassCastException: org. Apache. El. ExpressionFactoryImpl always be cast to javax.mail. El. ExpressionFactory
Javax.mail. El. ExpressionFactory. NewInstance (ExpressionFactory. Java: 198)
Javax.mail. El. ExpressionFactory. NewInstance (ExpressionFactory. Java: 117)
Org.apache.jasper.com piler. PageInfo. & lt; init> (PageInfo. Java: 79)
Org.apache.jasper.compiler.Com piler. GenerateJava (Compiler. Java: 110)
Org.apache.jasper.compiler.Compiler.com running (373) Compiler. Java:
Org.apache.jasper.compiler.Compiler.com running (353) Compiler. Java:
Org.apache.jasper.compiler.Compiler.com running (340) Compiler. Java:
Org.apache.jasper.JspCompilationContext.com from running (JspCompilationContext. Java: 646)
Org. Apache. Jasper. Servlet. JspServletWrapper. Service (357) JspServletWrapper. Java:
Org. Apache. Jasper. Servlet. JspServlet. ServiceJspFile (JspServlet. Java: 390)
Org. Apache. Jasper. Servlet. JspServlet. Service (334) JspServlet. Java:
Javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 728)
Org, apache tomcat, websocket server. WsFilter. DoFilter (WsFilter. Java: 51)
Org. Springframework. Web. Servlet. The InternalResourceView. RenderMergedOutputModel (InternalResourceView. Java: 168)
Org. Springframework. Web. Servlet. The AbstractView. Render (AbstractView. Java: 303)
Org. Springframework. Web. Servlet. DispatcherServlet. Render (DispatcherServlet. Java: 1243)
Org. Springframework. Web. Servlet. DispatcherServlet. ProcessDispatchResult (DispatcherServlet. Java: 1027)
Org. Springframework. Web. Servlet. DispatcherServlet. DoDispatch (DispatcherServlet. Java: 971)
Org. Springframework. Web. Servlet. DispatcherServlet. DoService (DispatcherServlet. Java: 893)
Org. Springframework. Web. Servlet. FrameworkServlet. The processRequest (FrameworkServlet. Java: 969)
Org. Springframework. Web. Servlet. FrameworkServlet. DoGet (FrameworkServlet. Java: 860)
Javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 621)
Org. Springframework. Web. Servlet. FrameworkServlet. Service (845) FrameworkServlet. Java:
Javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 728)
Org, apache tomcat, websocket server. WsFilter. DoFilter (WsFilter. Java: 51)
Org. Springframework. Web. Filter. CharacterEncodingFilter. DoFilterInternal (CharacterEncodingFilter. Java: 121)
Org. Springframework. Web. Filter. OncePerRequestFilter. DoFilter (OncePerRequestFilter. Java: 107),
Everyone a great god, and the various methods are tried online, do not solve, he is not fine, please advice

CodePudding user response:

What did you do

CodePudding user response:


Org. Springframework. Boot
Spring - the boot - starter - websocket
1.3.5. RELEASE
Provided - & gt;


Org. Springframework. Boot
  • Related