users@jax-rpc.java.net

JAXP Problem

From: Mike Feldmeier <mfeldmeier_at_metadata.com>
Date: Wed, 6 Apr 2005 14:49:26 -0700

Hi,

 

Im on XP using Java 1.4.2. Ive installed the JWSDP with default settings, and added the /bin to my path. Now typing wscompile ..., yields:

 

XML parser factory has not been configured correctly: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found

        at org.apache.tools.ant.util.JAXPUtils.newParserFactory(JAXPUtils.java:116)

        at org.apache.tools.ant.util.JAXPUtils.getNSParserFactory(JAXPUtils.java:100)

        at org.apache.tools.ant.util.JAXPUtils.getNamespaceXMLReader(JAXPUtils.java:163)

        at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:184)

        at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:131)

        at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:91)

        at org.apache.commons.launcher.Launcher.start(Launcher.java:390)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:324)

        at LauncherBootstrap.main(LauncherBootstrap.java:185)

Caused by: javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found

        at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)

        at org.apache.tools.ant.util.JAXPUtils.newParserFactory(JAXPUtils.java:114)

        ... 11 more

--- Nested Exception ---

javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found

        at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)

        at org.apache.tools.ant.util.JAXPUtils.newParserFactory(JAXPUtils.java:114)

        at org.apache.tools.ant.util.JAXPUtils.getNSParserFactory(JAXPUtils.java:100)

        at org.apache.tools.ant.util.JAXPUtils.getNamespaceXMLReader(JAXPUtils.java:163)

        at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:184)

        at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:131)

        at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:91)

        at org.apache.commons.launcher.Launcher.start(Launcher.java:390)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:324)

        at LauncherBootstrap.main(LauncherBootstrap.java:185)

 

 

Ive tried using wscompile cp {xerces-path\xercesImpl.jar}, but it appears to be ignoring it. Is there something Im missing?

 

Thanks,

Mike

 


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.3 - Release Date: 4/5/2005