Originally posted by Michael Lee Jordan: SEVERE: Error configuring application listener of class com.sun.faces.config.ConfigureListener java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener
You're likely mixing different JSF implementations. Don't do that. Use one implementation. Thus not for example having both Sun Mojarra and Apache MyFaces in the classpath, but only one of them.
I followed what the tutorial says and this time, i could n't start the tomcat server. I got the error while trying to start the server
SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener java.lang.NoClassDefFoundError: Could not initialize class org.apache.jasper.compiler.JspRuntimeContext
Does that mean new apis jars need to be included?
Joined: Oct 08, 2006
Did you run it from Eclipse? If so, did you integrate it properly, exactly as stated in the tutorial? Sounds like that you didn't let Eclipse take control of Tomcat (select "Use Tomcat installation" under "Server locations" in Eclipse Tomcat configuration).
Or did you run it from command console? If so, then you'll have to set some environment variables such as JAVA_HOME and CATALINA_HOME. Consult Tomcat documentation for details.
Michael Lee Jordan
Joined: Sep 03, 2008
I got it working. In fact, the problem lied with missing a jsp-api.jar in the tomcat\lib -- after I downloaded it moved it to the folder, everything seems to be working now.
I will need to pass the tutorial to others interested.