首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > Ruby Rails >

java.lang.NoClassDefFoundError: javax/el/ExpressionFactory异常

2012-08-24 
java.lang.NoClassDefFoundError: javax/el/ExpressionFactory错误严重: Error configuring application l

java.lang.NoClassDefFoundError: javax/el/ExpressionFactory错误

严重: Error configuring application listener of class com.sun.faces.config.ConfigureListener
java.lang.NoClassDefFoundError: javax/el/ExpressionFactory
?at java.lang.Class.getDeclaredConstructors0(Native Method)
?at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
?at java.lang.Class.getConstructor0(Class.java:2699)
?at java.lang.Class.newInstance0(Class.java:326)
?at java.lang.Class.newInstance(Class.java:308)
?at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3744)
?at org.apache.catalina.core.StandardContext.start(StandardContext.java:4252)
?at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
?at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
?at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
?at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
?at org.apache.catalina.core.StandardService.start(StandardService.java:448)
?at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
?at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
?at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
?at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
?at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
?at java.lang.reflect.Method.invoke(Method.java:597)
?at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
?at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: java.lang.ClassNotFoundException: javax.el.ExpressionFactory
?at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1438)
?at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1284)
?... 20 more
2012-3-31 1:23:08 org.apache.catalina.core.StandardContext listenerStart
严重: Skipped installing application listeners due to previous error(s)
2012-3-31 1:23:08 org.apache.catalina.core.StandardContext start
严重: Error listenerStart
2012-3-31 1:23:08 org.apache.catalina.core.StandardContext start
严重: Context [/ssm] startup failed due to previous errors
2012-3-31 1:23:08 org.apache.coyote.http11.Http11BaseProtocol start
信息: Starting Coyote HTTP/1.1 on http-8081
2012-3-31 1:23:08 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2012-3-31 1:23:08 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/16? config=null
2012-3-31 1:23:08 org.apache.catalina.storeconfig.StoreLoader load
信息: Find registry server-registry.xml at classpath resource
2012-3-31 1:23:08 org.apache.catalina.startup.Catalina start
信息: Server startup in 610 ms

?

解决方案:

到网上下一个javaee.jar放到Tomcat5.X 的common/lib下面

本文自带一个javaee.jar包

热点排行