zoukankan      html  css  js  c++  java
  • 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
  • 相关阅读:
    oracle当需要commit
    Win7 扩容磁盘分区
    MP3的频率、比特率、码率与音质的关系
    关于cocos2dx 3.0升级崩溃报错(unable to load native library) 和(Fatal signal 11 (SIGSEGV) at 0x00000000)
    开机黑屏 仅仅显示鼠标 电脑黑屏 仅仅有鼠标 移动 [已成功解决]
    Java串口通信具体解释
    android 计时器,倒计时
    联想A208T ROOT
    三层架构(我的理解及具体分析)
    Java实现BASE64编解码
  • 原文地址:https://www.cnblogs.com/sdu-Jumper/p/4919861.html
Copyright © 2011-2022 走看看