myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bailey Peng <bailey_p...@yahoo.com>
Subject Unable to setup MyFaces without jsf-api.jar and jsf-impl.jar
Date Tue, 24 Apr 2007 23:51:14 GMT
Hi all,

I'm new to JSF and would like a few pointers to get started. After downloading the examples,
I saw no reference to jsf-api.jar and jsf-impl.jar in WEB-INF/lib, which is what the myfaces
website tutorial suggests. However, I'm unable to use myfaces-api-1.1.5.jar and myfaces-impl-1.1.5.jar
in my web application without jsf-api.jar and jsf-impl.jar. I'm currently using Eclipse with
Tomcat 5.5.x integrated into the development environment. When jsf-api.jar and jsf-impl.jar
are not in my WEB-INF/lib, starting Tomcat would get me this error:

pr 24, 2007 7:23:27 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class com.sun.faces.config.ConfigureListener
java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3711)
    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(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)

With both of them in WEB-INF/lib, I don't get any problems. What do I need to do to make this
work solely with myfaces libraries?

Bailey



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
Mime
View raw message