简单的JSP页面,jsf给出了JasperException

时间:2015-09-16 02:53:50

标签: java jsp jsf servlets

这是错误日志:

  

输入例外报告

     

消息在第19行处理JSP页面/WEB-INF/views>/mob_admin_only/themHS.jsp时发生异常

     

说明服务器遇到内部错误,导致无法完成此请求。

     

例外

     

org.apache.jasper.JasperException:在第19行处理JSP> page /WEB-INF/views/mob_admin_only/themHS.jsp时发生异常

     

堆栈跟踪:

     
    

org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWra> pper.java:574)     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:4>76)     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)     javax.servlet.http.HttpServlet.service(HttpServlet.java:729)       org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)       Servlet.themHSServlet.doGet(themHSServlet.java:27)       javax.servlet.http.HttpServlet.service(HttpServlet.java:622)       javax.servlet.http.HttpServlet.service(HttpServlet.java:729)       org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)       Filter.PermissionFilter.doFilter(PermissionFilter.java:43)       Filter.EncodingFilter.doFilter(EncodingFilter.java:41)

  
     

根本原因

     

显示java.lang.NullPointerException

     
    

javax.faces.webapp.UIComponentClassicTagBase.setJspId(UIComponentClassicTagB> ase.java:1856)     org.apache.jsp.WEB_002dINF.views.mob_005fadmin_005fonly.themHS_jsp._jspx_met> h_f_005fview_005f0(themHS_jsp.java:181)     org.apache.jsp.WEB_002dINF.views.mob_005fadmin_005fonly.themHS_jsp._jspServi> CE(themHS_jsp.java:147)       org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)       javax.servlet.http.HttpServlet.service(HttpServlet.java:729)     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:4>38)       org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)       org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)       javax.servlet.http.HttpServlet.service(HttpServlet.java:729)       org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)       Servlet.themHSServlet.doGet(themHSServlet.java:27)       javax.servlet.http.HttpServlet.service(HttpServlet.java:622)       javax.servlet.http.HttpServlet.service(HttpServlet.java:729)       org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)       Filter.PermissionFilter.doFilter(PermissionFilter.java:43)       Filter.EncodingFilter.doFilter(EncodingFilter.java:41)GT;

  
     

注意Apache> Tomcat / 8.0.24日志中提供了根本原因的完整堆栈跟踪。

以下是我的jsp页面:

16:     <div id="content">
17:         <jsp:include page="../header.jsp" />
18:         <h1>Nhập hồ sÆ¡ thĂ­ sinh - Kì tuyển sinh 2015</h1>
19:         <f:view>
20:                 <h:form >
21: 
22:                     <!--content-->

我是JSF的新手,这里出了什么问题?

0 个答案:

没有答案