HTTP Status 500 - java.lang.LinkageError: loader constraint violation: when resolving interface method "javax.servlet.jsp.JspApplicationContext.getExpressionFactory()Ljavax/el/ExpressionFactory;" the class loader (instance of org/apache/jasper/servlet/JasperLoader) of the current class, org/apache/jsp/page/index_jsp, and the class loader (instance of org/apache/catalina/loader/StandardClassLoader) for resolved class, javax/servlet/jsp/JspApplicationContext, have different Class objects for the type javax/el/ExpressionFactory used in the signature
type Exception report
message java.lang.LinkageError: loader constraint violation: when resolving interface method "javax.servlet.jsp.JspApplicationContext.getExpressionFactory()Ljavax/el/ExpressionFactory;" the class loader (instance of org/apache/jasper/servlet/JasperLoader) of the current class, org/apache/jsp/page/index_jsp, and the class loader (instance of org/apache/catalina/loader/StandardClassLoader) for resolved class, javax/servlet/jsp/JspApplicationContext, have different Class objects for the type javax/el/ExpressionFactory used in the signature
description The server encountered an internal error that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: java.lang.LinkageError: loader constraint violation: when resolving interface method "javax.servlet.jsp.JspApplicationContext.getExpressionFactory()Ljavax/el/ExpressionFactory;" the class loader (instance of org/apache/jasper/servlet/JasperLoader) of the current class, org/apache/jsp/page/index_jsp, and the class loader (instance of org/apache/catalina/loader/StandardClassLoader) for resolved class, javax/servlet/jsp/JspApplicationContext, have different Class objects for the type javax/el/ExpressionFactory used in the signature
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:268)
javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
com.huateng.filter.EncodeUtils.doFilter(EncodeUtils.java:30)
root cause
java.lang.LinkageError: loader constraint violation: when resolving interface method "javax.servlet.jsp.JspApplicationContext.getExpressionFactory()Ljavax/el/ExpressionFactory;" the class loader (instance of org/apache/jasper/servlet/JasperLoader) of the current class, org/apache/jsp/page/index_jsp, and the class loader (instance of org/apache/catalina/loader/StandardClassLoader) for resolved class, javax/servlet/jsp/JspApplicationContext, have different Class objects for the type javax/el/ExpressionFactory used in the signature
org.apache.jsp.page.index_jsp._jspInit(index_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:723)
com.huateng.filter.EncodeUtils.doFilter(EncodeUtils.java:30)
相关推荐
在实际开发中,`javax.el-api.jar`通常作为编译时依赖,因为它只包含接口定义,而`javax.el.jar`则作为运行时依赖,因为它是具体实现。这两个库经常与Java EE服务器一起使用,例如Tomcat、WildFly等,它们会自动处理...
标题中的"tomcat5.5javax.el.jar"指的是Tomcat 5.5版本中与Java Expression Language (EL)相关的jar包。EL是JavaServer Pages (JSP) 2.0及更高版本中引入的一种轻量级表达式语言,用于简化在JSP页面中访问JavaBean...
1. 将 juel.jar, juel-engine.jar, juel-impl.jar 这三个包复制到tomcat6下 lib/ 中,并删除原来的el-api.jar,切记还要把工程中 WEB-INF\lib 下的 juel.jar, juel-engine.jar, juel-impl.jar 删除,不然还是要冲突...
在Java Web应用服务器Tomcat 6中,日志管理是一个至关重要的部分,它帮助开发者跟踪应用程序的运行状态,排查问题,以及记录系统活动。这里提到的`tomcat-juli.jar`、`tomcat-juli-adapters.jar`和`log4j-1.2.12.jar...
tomcat-juli.jar 用于在tomcat启动报错时除错
而对于Tomcat 6.0,只需将`jstl.jar`和`standard.jar`加入到项目类路径中,因为`el.jar`的功能在新版本的Tomcat中已经内置。 `jstl-1.2.jar`和`standard.jar`是上述描述中的具体文件,`jstl-1.2.jar`是JSTL的1.2...
在实际应用中,通常将`tomcat-juli.jar`添加到Tomcat的`lib`目录下,这样服务器启动时会自动加载该日志系统。而`tomcat-juli-adapters.jar`则根据需要进行选择性加载,如果应用使用了特定的日志框架,那么将这个...
jasper el.jar 安装Apache Tomcat 必备!
Tomcat默认使用JULI进行内部日志记录,包括服务器启动、关闭、请求处理等各种运行时信息。 最后,`tomcat-juli-adapters.jar`的作用在于桥接JULI和其他日志框架,例如Log4j。这个适配器允许Tomcat使用非JUL的日志...
在Java Web应用中,通常将`el-api.jar`和`el-ri.jar`添加到Web应用的`WEB-INF/lib`目录下,这样容器(如Tomcat、Jetty等)在启动时会自动加载这些库。在现代的Java EE环境中,如Java EE 7及更高版本,这些库通常是...
有javax.el.FunctionMapper类
tomcat-embed-el-9.0.16.jar
tomcat运行php项目必须的jar包:JavaBridge.jar、php-servlet.jar和php-script.jar 将下载好的JavaBridge.jar、php-servlet.jar和php-script.jar复制到tomcat的lib目录下; 并且完成配置, 教程链接:...
在实际项目中,将这两个jar包添加到项目的类路径(ClassPath)或者WEB-INF/lib目录下,即可使用Tomcat-jdbc数据源。配置数据源通常在`context.xml`或`server.xml`文件中完成,包括设置数据库URL、用户名、密码、最大...
tomcat-coyote.jar
tomcat6的log4j配置所需要的jar包、日志分割 准备三个包:log4j-1.2.17.jar tomcat-juli.jar tomcat-juli-adapters.jar 放到tomcat的lib目录或者是工程的WEB_INF/lib下
今天做项目,用到了el表达式和jstl,在tomcat6.0上跑得好好的,没想到copy到tomcat5.5后,服务器起不来了,是tomcat版本的问题。查阅了不少资料,现在总结如下: 错误信息: java.lang.NoClassDefFoundError: javax...
springboot 打war部署到apache-tomcat-7.0.69中启动报错:java.lang.NoClassDefFoundError: javax/el/ELManager 下载javax.el-api-3.0.0.jar,放到 tomcat/lib包下可以解决,原来的el-api.jar版本较低
5. 启动Tomcat:启动服务器,然后通过HTTP请求访问PHP页面。 在标签"java"的上下文中,我们可以理解这里涉及的是Java平台的扩展和集成技术。通过JavaBridge和Servlet,Java和PHP两种不同的编程语言能够在一个服务器...
这样,Tomcat在启动时会自动加载这些库。 3. **配置Tomcat**: 需要在Tomcat的`conf/server.xml`配置文件中添加一个`<Servlet>`和`<ServletMapping>`元素,定义PHPServlet并映射其URL模式。 4. **配置PHP环境**: 还...