Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

StartUpServletContextListener Problem  RSS feed

 
Mac Subramanian
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whenever i am running tomcat through eclipse i am getting the following error:
SEVERE: Error configuring application listener of class org.apache.myfaces.webapp.StartupServletContextListener
java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener


I have the myfaces-api and my-faces impl.jar in my classpath? I have also removed sun jsf-api and jsf-impl.jar from my classpath.I searched the forum but no concrete solution was available. Please help..
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the myfaces-api and my-faces impl.jar in my classpath?

Was this really a question? What version of myfaces are you using?
 
Mac Subramanian
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using myfaces1.1.3 api-jar and myfaces 1.1.3 impl-jar
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!