Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

No facelets examples working on Tomcat 5.5.17  RSS feed

Renzo Tomaselli
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all, I am not able to run *any* facelet example on Tomcat 5.5.17, while *all* JSF examples (and my own cases too) run fine.
Localhost log reports:

SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.GlassFishConfigureListener
java.lang.NoSuchMethodError: javax.servlet.ServletContext.getContextPath()Ljava/lang/String;
at com.sun.faces.config.ConfigureListener.getServletContextIdentifier(
If I replace JSF 1.2 jars through those provided by Sun, then I get:

SEVERE: Error configuring application listener of class com.sun.faces.config.GlassFishConfigureListener
java.lang.ClassNotFoundException: com.sun.faces.config.GlassFishConfigureListener
at org.apache.catalina.loader.WebappClassLoader.loadClass(

Funny enough, the jsf12KickStart example, showing JSF 1.2 on Tomcat through servlets (as an escape), runs fine.
Any help ? Thanks -- Renzo
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!