You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by hu...@redspark.com on 2001/04/17 00:14:57 UTC

SAXParserFactoryImpl error

Hi everyone,

I am sorry for flooding the message on this issue (but I really need this to solve :(.)  Please forgive me.  The problem I had is that I can not compile Tomcat 4.0 on my win2K.  This is the message I got:

Buildfile: build.xml

BUILD FAILED

javax.xml.parsers.FactoryConfigurationError: com.sun.xml.parser.SAXParserFactory
Impl
        at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:
84)
        at org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java, Compiled
 Code)
        at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
a:85)
        at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
        at org.apache.tools.ant.Main.main(Main.java:149)

Total time: 0 seconds
com.sun.xml.parser.SAXParserFactoryImpl

Please let me know what is wrong with this.  Thanks in advance.

Huy-

RE: SAXParserFactoryImpl error

Posted by Edison Too <ed...@yahoo.com.sg>.
Hi,

I'm not an expert, but I guess some suggestions won't hurt. The error seems
to point towards incompatible versions of XML processing packages,
suggestion:

1) Set your class path to nothing (SET CLASSPATH=), to prevent other
versions in your classpath from interfering with the build process. If you
do this in a dos session in Win2K, it doesn't permanently change your
classpath.

2) Make sure that your JAVA_HOME\jre\lib\ext directory does not contain any
packages that looks xml related and may interfere with the build. If you are
not sure, you can move all the jar files to another backup directory before
you try building tomcat again.

Hope this helps. :)

Cheers,
Edison

> -----Original Message-----
> From: huy.nguyen@redspark.com [mailto:huy.nguyen@redspark.com]
> Sent: Tuesday, April 17, 2001 6:15 AM
> To: tomcat-user@jakarta.apache.org
> Subject: SAXParserFactoryImpl error
>
>
> Hi everyone,
>
> I am sorry for flooding the message on this issue (but I really
> need this to solve :(.)  Please forgive me.  The problem I had is
> that I can not compile Tomcat 4.0 on my win2K.  This is the message I got:
>
> Buildfile: build.xml
>
> BUILD FAILED
>
> javax.xml.parsers.FactoryConfigurationError:
> com.sun.xml.parser.SAXParserFactory
> Impl
>         at
> javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:
> 84)
>         at
> org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java, Compiled
>  Code)
>         at
> org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
> a:85)
>         at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
>         at org.apache.tools.ant.Main.main(Main.java:149)
>
> Total time: 0 seconds
> com.sun.xml.parser.SAXParserFactoryImpl
>
> Please let me know what is wrong with this.  Thanks in advance.
>
> Huy-


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com