• java.lang.NoClassDefFoundError: javax/el/ELResolver 问题解决


    HTTP Status 500 - java.lang.NoClassDefFoundError: javax/el/ELResolver


    type Exception report

    message java.lang.NoClassDefFoundError: javax/el/ELResolver

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

    exception

    javax.servlet.ServletException: java.lang.NoClassDefFoundError: javax/el/ELResolver
    	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:268)
    	javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    

    root cause

    java.lang.NoClassDefFoundError: javax/el/ELResolver
    	java.lang.ClassLoader.defineClass1(Native Method)
    	java.lang.ClassLoader.defineClass(ClassLoader.java:800)
    	java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    	java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
    	java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    	java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    	java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    	java.security.AccessController.doPrivileged(Native Method)
    	java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    	java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    	java.lang.ClassLoader.loadClass(ClassLoader.java:412)
    	sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    	java.lang.ClassLoader.loadClass(ClassLoader.java:412)
    	java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    	org.apache.jasper.runtime.JspFactoryImpl.getJspApplicationContext(JspFactoryImpl.java:209)
    	org.apache.jsp.login_jsp._jspInit(login_jsp.java:23)
    	org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:52)
    	org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:164)
    	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:340)
    	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
    	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
    	javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    

    root cause

    java.lang.ClassNotFoundException: javax.el.ELResolver
    	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)
    	java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    	java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    	java.lang.ClassLoader.defineClass1(Native Method)
    	java.lang.ClassLoader.defineClass(ClassLoader.java:800)
    	java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    	java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
    	java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    	java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    	java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    	java.security.AccessController.doPrivileged(Native Method)
    	java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    	java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    	java.lang.ClassLoader.loadClass(ClassLoader.java:412)
    	sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    	java.lang.ClassLoader.loadClass(ClassLoader.java:412)
    	java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    	org.apache.jasper.runtime.JspFactoryImpl.getJspApplicationContext(JspFactoryImpl.java:209)
    	org.apache.jsp.login_jsp._jspInit(login_jsp.java:23)
    	org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:52)
    	org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:164)
    	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:340)
    	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
    	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
    	javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    

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

    解决办法:到apache-tomcat/lib目录下,拷贝el-api.jar放到D:Javajdk1.6.0_11jrelibext下,重启Tomcat服务器重试即可。

    ya tudou
  • 相关阅读:
    MD5算法MFC实现
    asp.net2.0新特点
    file format
    C专家编程第二章学习笔记
    Bye Czech golden generation
    中间层
    学完谭C之后
    C语言学习之路
    荀子劝学篇
    C语言常用转义字符表
  • 原文地址:https://www.cnblogs.com/sdu-Jumper/p/4919861.html
Copyright © 2020-2023  润新知