posts - 0,  comments - 20,  trackbacks - 0
发布工程时,抛出以下异常:
java.lang.NoClassDefFoundError: javax/el/ExpressionFactory
Apache Tomcat/5.0.28

则将javaee.jar包再copy一份放在tomcat目录的common\lib下就不会了。
关于用到的javaee.jar、jsf-api.jar、jsf-impl.jar、jstl-1.2.jar这四个包可以通过myeclipse中获得,这四个包的所在的目录是:
D:\Program Files\MyEclipse 6.5\myeclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_6.5.0.zmyeclipse650200806\data\libraryset\EE_5
posted on 2008-08-29 19:39 Documents 阅读(23038) 评论(10)  编辑  收藏 所属分类: Tomcat


FeedBack:
# re: Tomcat严重错误,日志里出现: java.lang.NoClassDefFoundError: javax/el/ExpressionFactory [未登录]
2010-04-13 23:53 | 小马
太谢谢你了,我找了两个晚上了,  回复  更多评论
  
# re: Tomcat严重错误,日志里出现: java.lang.NoClassDefFoundError: javax/el/ExpressionFactory
2010-11-10 19:44 | cxy
@小马
谢谢  回复  更多评论
  
# re: Tomcat严重错误,日志里出现: java.lang.NoClassDefFoundError: javax/el/ExpressionFactory [未登录]
2011-07-27 13:02 | luo
很感谢!  回复  更多评论
  
# re: Tomcat严重错误,日志里出现: java.lang.NoClassDefFoundError: javax/el/ExpressionFactory
2012-03-13 10:07 | disiente
非常感谢!!!  回复  更多评论
  
# re: Tomcat严重错误,日志里出现: java.lang.NoClassDefFoundError: javax/el/ExpressionFactory
2012-07-25 09:34 | 陈陈
非常感谢!!!  回复  更多评论
  
# re: Tomcat严重错误,日志里出现: java.lang.NoClassDefFoundError: javax/el/ExpressionFactory
2012-09-06 23:19 | vabn
拷进去了 但是还是没用 也重启了。  回复  更多评论
  
# re: Tomcat严重错误,日志里出现: java.lang.NoClassDefFoundError: javax/el/ExpressionFactory
2012-11-29 16:05 | 呆瓜小贼
还是没用~~~~2011-11-29 16:00:42 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
2011-11-29 16:00:43 StandardContext[/mystruts2]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:3780)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4323)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:701)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
at org.apache.catalina.core.StandardService.start(StandardService.java:480)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
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:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
Caused by: java.lang.ClassNotFoundException: javax.el.ExpressionFactory
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1340)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 30 more

  回复  更多评论
  
# re: Tomcat严重错误,日志里出现: java.lang.NoClassDefFoundError: javax/el/ExpressionFactory
2013-01-25 15:10 | Bail
@vabn
我遇到了同样的问题 请问你最后是怎么解决的?  回复  更多评论
  
# re: Tomcat严重错误,日志里出现: java.lang.NoClassDefFoundError: javax/el/ExpressionFactory
2013-06-06 09:05 | 王兴光
太谢谢了太谢谢了!!!!  回复  更多评论
  
# re: Tomcat严重错误,日志里出现: java.lang.NoClassDefFoundError: javax/el/ExpressionFactory
2013-11-20 16:27 | Matthew Lee
@Bail
最后换tomcat7  回复  更多评论
  

只有注册用户登录后才能发表评论。


网站导航:
 
<2013年6月>
2627282930311
2345678
9101112131415
16171819202122
23242526272829
30123456

留言簿

文章分类

文章档案

J2EE

搜索

  •  

最新评论