Dear Wiki user,
You have subscribed to a wiki page or wiki category on Tomcat Wiki for change
notification.
The FAQ/Class_Not_Found page has been changed by KonstantinKolinko:
http://wiki.apache.org/tomcat/FAQ/Class_Not_Found?action=diffrev1=13rev2=14
Comment:
Correct file names.
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:
- * Classloader HOWTO pages:
[[http://tomcat.apache.org/tomcat-7.0-doc/class-loader-howto.html|Tomcat 7.0]],
[[http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html|Tomcat 6.0]],
[[http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html|Tomcat 5.5]].
+ * Classloader HOWTO pages:
[[http://tomcat.apache.org/tomcat-7.0-doc/class-loader-howto.html|Tomcat 7.0]],
[[http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html|Tomcat 6.0]].
* [[http://marc.info/?t=10431752924r=1w=2|Don't]]
[[http://marc.info/?t=10438044013r=1w=2|use]]
[[http://marc.info/?t=9694765692r=1w=2|packageless]]
[[http://marc.info/?t=10449102012r=1w=2|classes]]
[[http://marc.info/?t=10426557623r=1w=2|and]]
[[http://marc.info/?t=10424974831r=1w=2|declare]]
[[http://marc.info/?t=10299695013r=1w=2|all]]
[[http://marc.info/?t=10292218941r=1w=2|imported classes]]!
* [[http://marc.info/?l=tomcat-userm=103843452413727w=2|Another answer to
a classloader issue]]
@@ -28, +28 @@
Anchor(Q2)'''Why do I get {{{ java.lang.NoClassDefFoundError:
javax/servlet/Filter}}}?'''
- 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.
+ You probably have servlet-api.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-api.jar should only
be found only once in $CATALINA_HOME/lib.
Anchor(Q3)'''Why do I get {{{ java.lang.NoClassDefFoundError:
org/xml/sax/InputSource }}}?'''
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org