On 6/20/07, cilquirm <[EMAIL PROTECTED]> wrote:
This is most probably not related to Struts. I can't claim to know the intrinsics of your setup but it looks like you're missing some jars need for JSF. It might be that you're running an older version of the J2EE stack. javax.el.ExpressionFactory comes with J2EE 5, and is part of JSF 1.2
This is incorrect - javax.el.ExpressionFactory is part of the new "Unified EL" that was developed under JSR 245[1] - which is the JSR for JSP 2.1. However the "Unified EL" - (called that because it aims to unify the expression language implementations used by JSP and JSF) has been released as a separate specification under that JSR and is independant of any servlet technology (i.e. no dependencies on JSP, JSF or any servlet specs). So although its true to say that both JSP 2.1 and JSF 1.2 use the Unified EL (EL 2.1) - it is part of neither. Niall [1] http://jcp.org/en/jsr/detail?id=245
GEDA wrote: > > Hi. I created an interceptor which extends AbstractInterceptor and > implements StrutsStatics. Also I added it in the applicationcontext.xml of > the Spring framework. My problem is the following and I don't know where > to get the missing class: > > Jun 20, 2007 2:32:16 PM org.apache.catalina.core.StandardContext > listenerStart > SEVERE: Error configuring application listener of class > com.sun.faces.config.GlassFishConfigureListener > 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:3678) > at > org.apache.catalina.core.StandardContext.start(StandardContext.java:4187) > 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:608) > 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:1122) > 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:1021) > at > org.apache.catalina.core.StandardHost.start(StandardHost.java:718) > at > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) > 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:709) > at org.apache.catalina.startup.Catalina.start(Catalina.java:551) > 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:294) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432) > Jun 20, 2007 2:32:16 PM org.apache.catalina.core.StandardContext > listenerStart > SEVERE: Skipped installing application listeners due to previous error(s) > Jun 20, 2007 2:32:18 PM org.apache.catalina.core.ApplicationContext log > INFO: Initializing Spring root WebApplicationContext > > Thank you. > > -- View this message in context: http://www.nabble.com/javax.el.ExpressionFactory-tf3951985.html#a11217621 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]