You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by jon * <jo...@latchkey.com> on 2000/05/23 02:28:50 UTC
exception on starting tomcat...
Anyone know why I'm getting this exception? I'm using the latest Tomcat
stuff from CVS...exactly which XML related packages do I need in my
classpath? all this JAXP stuff has me pretty confused now...
I have tried the xml.jar that comes with Ant as well as the
Xerces-1.0.3.jar...nothing seems to work...
Using classpath:
..\classes;..\lib\webserver.jar;..\lib\jasper.jar;..\lib\servle
t.jar;..\lib\xml.jar;c:\jdk1.2\lib\tools.jar;c:\classes\jaxp-1.0.1\jaxp.jar;
C:\jdk1.2\lib\tools.jar
Exception in thread "main" javax.xml.parsers.FactoryConfigurationError:
com.sun.
xml.parser.SAXParserFactoryImpl
at
javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:
84)
at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:214)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:185)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:205)
--
Java Servlet Based - Open Source | Collab.Net
Bug/Issue Tracking System | now hiring smart people
<http://scarab.tigris.org/> | <http://Collab.Net/jobs/>
Re: exception on starting tomcat...
Posted by "Craig R. McClanahan" <Cr...@eng.sun.com>.
Remy Maucherat wrote:
> > Anyone know why I'm getting this exception? I'm using the latest Tomcat
> > stuff from CVS...exactly which XML related packages do I need in my
> > classpath? all this JAXP stuff has me pretty confused now...
>
> Get JAXP 1.0.1, unzip, and add parser.jar and jaxp.jar to your classpath.
>
And remove "../lib/xml.jar". It is not JAXP-compatible.
>
> Remy
>
Craig
Re: exception on starting tomcat...
Posted by Remy Maucherat <re...@exoffice.com>.
> Anyone know why I'm getting this exception? I'm using the latest Tomcat
> stuff from CVS...exactly which XML related packages do I need in my
> classpath? all this JAXP stuff has me pretty confused now...
Get JAXP 1.0.1, unzip, and add parser.jar and jaxp.jar to your classpath.
Remy