users@glassfish.java.net

Re: Where can I get facelets?

From: Ryan Lubke <Ryan.Lubke_at_Sun.COM>
Date: Wed, 01 Aug 2007 14:40:47 -0700

Hello,

Looking at the stacktrace, you're using a version of the JSF RI that's
over a year old. I would suggest upgrading to at least 1.2_04 P02 [1].
Also Facelets can be found here: https://facelets.dev.java.net

[1] https://javaserverfaces.dev.java.net

glassfish_at_javadesktop.org wrote:
> I am trying to solve java.lang.ClassNotFoundException: com.sun.el.ExpressionFactoryImpl error by getting the el-ri-*.*.jar file to get a JSF 1.2 app working with Tomcat 6. All the advice I've come across says "download facelets 1.*.*" but with no links. Googling "download facelets" doesn't come up with much. I even saw an announcement regarding a new release of facelets, but alas, still no link.
>
> Can someone please point me to the right place? Is it merely a part of Glassfish?
>
> I'll also entertain other suggestions on how to solve my problem. I have no idea why my app is trying to instantiate this particular implementation(com.sun.el.ExpressionFactoryImpl). Is that merely the default for JSF 1.2?
>
> I'm also willing to try something like this in web.xml if someone knows of an easy to find / good ExpressionFactoryImpl to use:
>
> <context-param>
> <param-name>com.sun.faces.expressionFactory</param-name>
> <param-value>org.apache.el.ExpressionFactoryImpl</param-value>
> </context-param>
>
> Thanks.
>
> Error trace:
> ==========
> INFO: validateJarFile(C:\Program Files\Apache Software Foundation\Tomcat 6.0\web
> apps\smfadmin\WEB-INF\lib\servlet-api-2.4.jar) - jar not loaded. See Servlet Spe
> c 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
> Aug 1, 2007 4:59:56 PM com.sun.faces.config.ConfigureListener contextInitialized
>
> INFO: Initializing Sun's JavaServer Faces implementation (1.2-b20-FCS) for conte
> xt '/smfadmin'
> Aug 1, 2007 4:59:56 PM com.sun.faces.config.ConfigureListener registerELResolver
> AndListenerWithJsp
> SEVERE: Error Instantiating ExpressionFactory
> java.lang.ClassNotFoundException: com.sun.el.ExpressionFactoryImpl
> at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
> der.java:1358)
> at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
> der.java:1204)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Unknown Source)
> at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerW
> ithJsp(ConfigureListener.java:1862)
> at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureLi
> stener.java:546)
> at com.sun.faces.config.GlassFishConfigureListener.contextInitialized(Gl
> assFishConfigureListener.java:47)
> at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
> t.java:3827)
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
> 334)
> at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
> .java:791)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
> [Message sent by forum member 'tommykalafut' (tommykalafut)]
>
> http://forums.java.net/jive/thread.jspa?messageID=229097
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>