zoukankan      html  css  js  c++  java
  • HTTP Status 500

    HTTP Status 500 - java.lang.ClassNotFoundException: org.apache.jsp.index_jsp
    
    type Exception report
    
    message java.lang.ClassNotFoundException: org.apache.jsp.index_jsp
    
    description The server encountered an internal error that prevented it from fulfilling this request.
    
    exception
    
    org.apache.jasper.JasperException: java.lang.ClassNotFoundException: org.apache.jsp.index_jsp
        org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:177)
        org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:376)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
        org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    root cause
    
    java.lang.ClassNotFoundException: org.apache.jsp.index_jsp
        java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        java.security.AccessController.doPrivileged(Native Method)
        java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:132)
        org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:63)
        org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:172)
        org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:376)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
        org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    note The full stack trace of the root cause is available in the Apache Tomcat/7.0.67 logs.
    
    Apache Tomcat/7.0.67

    错误原因:最近从eclipse转到IDEA,由于eclipse中的jstl的jar包会用eclipse自带的帮你导入,打包进tomcat,但是IDEA不会帮你完成这些,这个错误就是因为没有导入jstl的jar包导致的。

    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

    使用这个需要在IDEA中导入自己的jstl jar 


  • 相关阅读:
    HDU1069:Monkey and Banana(DP+贪心)
    hdu 4497 GCD and LCM(2013 ACM-ICPC吉林通化全国邀请赛——题目重现)
    vb6.0 倒计时
    硬盘分区表
    踽踽独行的岁月,感谢与你的相遇
    每天学点Linux:二
    windows下Qt Creator5.1.0编写程序以及调用OpenCV库
    【每周一译】愚蠢的指标:Java中使用最多的关键字
    centos 7 没有ifconfig 命令
    About stats collected
  • 原文地址:https://www.cnblogs.com/wei1/p/9582085.html
Copyright © 2011-2022 走看看