• Post Reply Bookmark Topic Watch Topic
  • New Topic

No facelets examples working on Tomcat 5.5.17  RSS feed

 
Renzo Tomaselli
Greenhorn
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(ConfigureListener.java:379)
...
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(WebappClassLoader.java:1352)
...

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