HTTP Status 500 - /online.jsp (line: 495, column: 2) File [/foot.jsp] not found

完整错误信息:

type Exception report

message /online.jsp (line: 495, column: 2) File [/foot.jsp] not found

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

exception

org.apache.jasper.JasperException: /online.jsp (line: 495, column: 2) File [/foot.jsp] not found

org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:41)

org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:275)

org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:91)

org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:323)

org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:358)

org.apache.jasper.compiler.Parser.parseDirective(Parser.java:461)

org.apache.jasper.compiler.Parser.parseFileDirectives(Parser.java:1782)

org.apache.jasper.compiler.Parser.parse(Parser.java:136)

org.apache.jasper.compiler.ParserController.doParse(ParserController.java:227)

org.apache.jasper.compiler.ParserController.parseDirectives(ParserController.java:117)

org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:194)

org.apache.jasper.compiler.Compiler.compile(Compiler.java:356)

org.apache.jasper.compiler.Compiler.compile(Compiler.java:336)

org.apache.jasper.compiler.Compiler.compile(Compiler.java:323)

org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:580)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:356)

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)

org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:168)

org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:303)

org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1228)

org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1011)

org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:955)

org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)

org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)

org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857)

javax.servlet.http.HttpServlet.service(HttpServlet.java:622)

org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)

javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

com.auth.filter.AuthorizationFilter.doFilterInternal(AuthorizationFilter.java:77)

org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)

org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)

com.auth.filter.AuthenticationFilter.doFilterInternal(AuthenticationFilter.java:115)

org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)

org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)

com.activate.filter.ActivateFilter.doFilterInternal(ActivateFilter.java:52)

org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)

org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)

org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)

org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

note The full stack trace of the root cause is available in the Apache Tomcat/8.0.21 logs.

Apache Tomcat/8.0.21

错误原因:

因为online.jsp文件中使用了include语句

<%@ include file="/foot.jsp"%>

而对应的foot.jsp文件不存在;

解决方法就不用多说了。

==========================================

PS:一只小狗爬上你的餐桌,向一只烧鸡爬去,你大怒道:你敢对那只烧鸡怎样,我就敢对你怎样,结果小狗舔了一下鸡屁股,你昏倒,小狗乐道:小样看谁狠。

版权声明:本文为博主原创文章,未经博主允许不得转载。

时间: 2024-10-09 15:55:29

HTTP Status 500 - /online.jsp (line: 495, column: 2) File [/foot.jsp] not found的相关文章

org.apache.jasper.JasperException: /pages/column.jsp (line: 8, column: 1) File &quot;pathTags.jsp&quot; not f

1.错误描述 21-Mar-2015 00:57:40.934 INFO [localhost-startStop-2] org.apache.catalina.core.ApplicationContext.log SessionListener: contextDestroyed() 21-Mar-2015 00:57:40.934 INFO [localhost-startStop-2] org.apache.catalina.core.ApplicationContext.log Con

报错:org.apache.jasper.JasperException: /index.jsp (line: 1, column: 17) equal symbol expected

现象:写了如下一个jsp文件,导入需要用到的两个包: 运行结果报错:org.apache.jasper.JasperException: /index.jsp (line: 1, column: 17) equal symbol expected at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:41) at org.apache.jasper.compiler.ErrorDis

报错:org.apache.jasper.JasperException: /jsp/head.jsp (line: 1, column: 2) Page directive: illegal to

上面报错提示的是org.apache.jasper.JasperException: /jsp/head.jsp (line: 1, column: 2) Page directive: illegal to have multiple occurrences of contentType with different values (old: text/html; charset=UTF-8, new: text/html; charset=utf-8)即:在/ jsp /head.jsp中(

/cart.jsp (line: [32], column: [45]) The JSP specification requires that an attribute name is preceded by whitespace

出现的错误: Type Exception Report Message /cart.jsp (line: [32], column: [45]) The JSP specification requires that an attribute name is preceded by whitespace Description The server encountered an unexpected condition that prevented it from fulfilling the

error: &lt;class &#39;xml.parsers.expat.ExpatError&#39;&gt;, syntax error: line 1, column 0: file: /usr/local/lib/python2.7/xmlrpclib.py line: 557

当linux设备上开启sonar6.2时, supervisorctl status报如下错误: error: <class 'xml.parsers.expat.ExpatError'>, syntax error: line 1, column 0: file: /usr/local/lib/python2.7/xmlrpclib.py line: 557 关闭sonar6.2时,报如下错误: error: <class 'socket.error'>, [Errno 113]

org.apache.jasper.JasperException: /index.jsp (line: 24, column: 26) attribute for %&gt;&quot; is not proper

JSP页面,本来想使用标签进行请求跳转的,然后就报了这么一个错误,原来这个里面还不能写表达式,之前一直以为可以的.当然也可以使用另外一个标签. <body> <jsp:forward page="<%=basePath %>msgServlet?action=getAllList"></jsp:forward> </body> 之后改成这样使用EL表达式就OK了. <body> <jsp:forward pa

jsp里面 500 错误 /index.jsp (line: [29], column: [0]) Unterminated [&amp;lt;c:set] tag 的处理

改正后 原文地址:https://www.cnblogs.com/twuxian/p/11618803.html

/WEB-INF/pages/common/head.jsp (line: 1, column: 2) Page directive: illegal to have multiple occurrences of contentType with different values (old: text/html; charset=UTF-8, new: text/html; charset=ut

这是jsp错误,不允许contentType="text/html; charset=UTF-8",有空格. 之前错误写法为:<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> 正确写法为:<%@ page language="java" contentType=&qu

HTTP Status 500 - javax.servlet.ServletException: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/LoopTag

我在项目中导入了jar,还是不能使用EL表达式,一运行就出现了下面的额错误: org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/LoopTag org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWra