tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Campbell" <mike.campb...@s1.com>
Subject Can't find SAXParserFactory
Date Mon, 23 Oct 2000 20:26:02 GMT
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?


Mime
View raw message