Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wtp-jsf-dev] Error: javax/el/ExpressionFactory

Hello all!

I am very new to JSF and have not even run my first JSF code successfully yet. I was trying to follow and run the example(available at http://www.eclipse.org/webtools/jsf/dev_resource/JSFTutorial-RC3/JSFTools_tutorial.html) provided with JSF Web Tool RC3 official page.

I did all the steps but when I tried to run the login page on my Tomcat server it gives the following error:

Mar 16, 2007 5:25:44 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Sun\SDK\jdk\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Sun\SDK\jdk\bin;C:\Sun\SDK\bin
Mar 16, 2007 5:25:44 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Mar 16, 2007 5:25:44 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1141 ms
Mar 16, 2007 5:25:45 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 16, 2007 5:25:45 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
Mar 16, 2007 5:25:45 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Mar 16, 2007 5:25:45 AM 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:3712)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
    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)
Mar 16, 2007 5:25:45 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)
Mar 16, 2007 5:25:45 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Mar 16, 2007 5:25:45 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/JSFTutorial] startup failed due to previous errors
Mar 16, 2007 5:25:46 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Mar 16, 2007 5:25:46 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Mar 16, 2007 5:25:46 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/188  config=null
Mar 16, 2007 5:25:46 AM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Mar 16, 2007 5:25:46 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1938 ms

I am using the following versions:

Tomcat: 5.5
Eclipse: 3.2 Updated


In some forum, I found a half-clear indication that I should use some kind of Facelets but I am not clear with these stuffs.
Would anybody please help me out so that I can successfully run at least one JSF project successfully?

Thanks in advance.

-- Shehab


Looking for earth-friendly autos?
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.

Back to the top