• Post Reply Bookmark Topic Watch Topic
  • New Topic

Mac OSX NoSuchMethodError: Running a JSF Application on Tomcat 5.0.28  RSS feed

Jacob Briscoe
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm have a problem running the example application from Sun JSF(1.0): jsf-guessNumber. I have been fighting this for hours but have been unable to get JSF to run. Here is the exception being thrown:

javax.servlet.ServletException: javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZ)V

And here is the Root Cause:

java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZ)V

I haven't changed anything in the guess number war file, it is completly untouched when I get that error. It seems like Tomcat is unable to understand a JSF taglib in the guess number war file. The weird thing is that I'm able to get everything running properly under a Windows XP configuration. When I try this on Mac OSX it has this problem, I have tried to use the .tar.gz files and from the command line extract them because I knew there was an issue with Stuffit Expander not expanding these files properly but still I get the same error.
I cannot figure this out, if anyone has this working please let me know how you got everything running properly.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!