tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nacho <na...@siapi.es>
Subject RE: Can't find SAXParserFactory
Date Tue, 24 Oct 2000 09:51:05 GMT
You are trying to compile Tomcat 4.0??? 

In this case you need the JAXP 1.1ea from sun http://java.sun.com/xml,
you cant use xerces 1.2 ( as states in the old readme )  or a older jaxp
version.. hope this helps

Saludos ,
Ignacio J. Ortega


> -----Mensaje original-----
> De: Mike Campbell [mailto:mike.campbell@s1.com]
> Enviado el: lunes 23 de octubre de 2000 22:26
> Para: tomcat-user@jakarta.apache.org
> Asunto: Can't find SAXParserFactory
> 
> 
> 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(ServletWrapp
> er.java:315)
>         at 
> org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapp
> er.java:276)
>         at 
> org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit
> (LoadOnStartupInterceptor.java:132)
>         at 
> org.apache.tomcat.core.ContextManager.initContext(ContextManag
> er.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