It appears the JSP version of the container is older than 2.1 and unable to locate the EL RI expression factory, com.sun.el.ExpressionFactoryImpl.
by Elton on 一.16, 2010, under Java
今天调试一个jboss应用的时候发现这个错误。
严重: Unable to instantiate ExpressionFactory ‘com.sun.el.ExpressionFactoryImpl’
2008-9-12 11:36:47 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
com.sun.faces.config.ConfigurationException: It appears the JSP version of the container is older than 2.1 and unable to locate the EL RI expression factory, com.sun.el.ExpressionFactoryImpl. If not using JSP or the EL RI, make sure the context initialization parameter, com.sun.faces.expressionFactory, is properly set.
at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:545)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:211)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3692)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4127)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:603)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:680)
at org.apache.catalina.startup.Catalina.start(Catalina.java:540)
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:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
看提示是说jsp的版本有问题,其实是缺少了一个jar包
el-ri.jar
可以在这里下载:http://code.google.com/p/seam-forum/downloads/detail?name=el-ri.jar&can=2&q=
将这个包放在jbosshome/server/default/lib中



一月 18th, 2010 on 18:24
Greatings, Thank you! I would now go on this blog every day!
Miato
二月 17th, 2010 on 18:57
This article was very useful for a paper I am writing for my thesis.
Thanks
Bernice Franklin
UGG Purses
UGG Bags
Classic Tall Chestnut
五月 20th, 2010 on 13:42
Just checking out your post on my new Google Phone , and I wanted to check if it would let me comment or if it was going to me go to a pc to do that. Ill check back later to see if it worked.
六月 4th, 2010 on 20:16
I can’t figure out how to subscribe to the comments via feed . I want to keep abrest of this, how do I do that?
六月 13th, 2010 on 14:04
Can you provide a little more resources on this? great write up by the way. thanks
六月 26th, 2010 on 12:13
Hey man , thanks for sharing but this article doesn’t format correctly when using Mozilla it is is overlapping.
七月 3rd, 2010 on 11:42
oh cool, this information is really useful and definately is comment worthy! hehe. I’ll see if I can try to use some of this information for my own blog. Thanks!
八月 13th, 2010 on 15:14
mm. attractive text!
八月 25th, 2010 on 20:32
Thanks for the advice. Will put it to work. Tom
九月 3rd, 2010 on 10:17
Thanks for writing this I’ll tell my partner and see what she thinks.
九月 7th, 2010 on 17:16
Thanks for sharing. Share is caring after all.