myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bailey Peng <>
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(
    at org.apache.catalina.loader.WebappClassLoader.loadClass(
    at org.apache.catalina.core.StandardContext.listenerStart(
    at org.apache.catalina.core.StandardContext.start(
    at org.apache.catalina.core.ContainerBase.start(
    at org.apache.catalina.core.StandardHost.start(
    at org.apache.catalina.core.ContainerBase.start(
    at org.apache.catalina.core.StandardEngine.start(
    at org.apache.catalina.core.StandardService.start(
    at org.apache.catalina.core.StandardServer.start(
    at org.apache.catalina.startup.Catalina.start(
    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(
    at org.apache.catalina.startup.Bootstrap.main(

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?


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
View raw message