Hi!
The file should be within $TOMCAT_HOME/lib/xml.jar.
Which version did you download tomcat ?
Hope this help.
Arion
Mike Campbell wrote:
> This is probably a very, very easy question. I apologize if this is in a FAQ
>somewhere (if so, where?), but I've looked and can't
> find anything.
>
> On Win NT, I've unzipped the zip file, set TOMCAT_HOME & JAVA_HOME appropriately,
>made sure that 'java' was in my PATH, cd'd into
> $TOMCAT_HOME, and ran bin/startup.sh under bash (and bin\startup.bat under
>command.com).
>
> In both cases, I get the following error:
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
>javax/xml/parsers/SAXParserFactory
> at org.apache.struts.digester.Digester.getParser(Digester.java:284)
> at org.apache.struts.digester.Digester.parse(Digester.java:748)
> at org.apache.struts.example.DatabaseServlet.load(DatabaseServlet.java:282)
> at org.apache.struts.example.DatabaseServlet.init(DatabaseServlet.java:175)
> at javax.servlet.GenericServlet.init(GenericServlet.java:258)
> at org.apache.tomcat.core.ServletWrapper.initServlet(ServletWrapper.java:315)
> at org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:276)
> at
>org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartupInterceptor.java:132)
> at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:227)
> at org.apache.tomcat.core.ContextManager.init(ContextManager.java:201)
> at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:156)
> at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163)
>
> Sure enough, that class isn't anywhere I can find. I feel that I'm missing a
>CLASSPATH entry, but damned if I can find it.
>
> Any ideas?
--
[This email and any files transmitted with it are confidential and may contain
information that is legally privileged. They are
intended solely for the addressee(s). Access to this email by anyone else is
unauthorized. If you are not the intended recipient,
please delete it and notify the sender by email immediately; you should not copy or
use it for any purpose, nor disclose its contents
to any other person. Thank you.]