The FAQ has moved to the Tomcat site. The new location of the Tomcat FAQ is now
Tomcat FAQ: Class Not Found
  • Home
  • Apache/Jk/Jk2
  • Bugs
  • Class Not Found
  • Configuring
  • Database
  • I got an error
  • Linux
  • Memory
  • Miscellaneous
  • Monitoring
  • Performance
  • Security
  • Tomcat-user
  • Which Version
  • Windows
  • About
  • This page discusses the various ways you see Class Not Found errors or very similar errors. It is strongly advised you read the following topics:

    Q: jsp:useBean is not working!
    A: Make sure:
    • Your bean is packaged in a class.
    • You have fully qualifies your class name ( OR
    • You have imported your class into your jsp (eg: <%@ pageimport=""%>)

    Q: Why do I get java.lang.NoClassDefFoundError: javax/servlet/Filter?
    A: You probably have servlet.jar floating around somewhere it shouldn't be. This really messes up the classloaders since Tomcat's classloaders don't act quite as normal as one expects (see links above). servlet.jar should only be found only once in $CATALINA_HOME/common/lib.

    The original location of this FAQ is located at: and is hosted by Logo

    Last edit date: $Date: 2003/03/22 00:25:53 $ .