Stacktrace: org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:5(

Posted 狗子的进阶史

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Stacktrace: org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:5(相关的知识,希望对你有一定的参考价值。

jsp页面出现如下异常:

 

Stacktrace:
    at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:584)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:481)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:728)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:470)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:395)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:316)
    at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:168)

报错原因:

实体类定义的属性首写字母写了大写。命名不规范引起的

解决办法:

修改实体类的字段名就好了

以上是关于Stacktrace: org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:5(的主要内容,如果未能解决你的问题,请参考以下文章

没有 StackTrace 的 Java 中的 NullPointerException

禁用Stacktrace筛选

Stacktrace:] 根本原因是 java.lang.NullPointerException

Debian存储库中没有Boost.Stacktrace

netstandard 1.5 中缺少 StackTrace 的默认构造函数

c# - catch(Exception ex) 会丢掉StackTrace 是怎么回事?