You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/10/23 09:12:09 UTC

[jira] Closed: (MAVEN-1432) javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAX while trying to execute maven -D package=com.oreillynet.mavensample genapp

Message:

   The following issue has been closed.

   Resolver: Brett Porter
       Date: Sat, 23 Oct 2004 3:11 AM

works for me. You don't have any reason to run the command from %MAVEN_HOME%\bin though
---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVEN-1432

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1432
    Summary: javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAX  while trying to execute maven -D package=com.oreillynet.mavensample genapp
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: CANNOT REPRODUCE

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
   Versions:
             1.0

   Assignee: 
   Reporter: Sunil Kumar Tiwari

    Created: Wed, 1 Sep 2004 2:22 AM
    Updated: Sat, 23 Oct 2004 3:11 AM
Environment: windows 2000 professional, maven -1.0

Description:
while trying to execute the command in %MAVEN_HOME%/bin directory, I am getting the following error:

javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAX
ParserFactoryImpl not found
        at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:
105)
        at org.apache.maven.MavenUtils.createXMLReader(MavenUtils.java:558)
        at org.apache.maven.MavenUtils.getXMLReader(MavenUtils.java:543)
        at org.apache.maven.MavenUtils.createBeanReader(MavenUtils.java:487)
        at org.apache.maven.MavenUtils.getProjectBeanReader(MavenUtils.java:311)

        at org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:204)
        at org.apache.maven.MavenUtils.getProject(MavenUtils.java:144)
        at org.apache.maven.plugin.JellyScriptHousing.getProject(JellyScriptHous
ing.java:105)
        at org.apache.maven.plugin.PluginManager.initialiseHousingPluginContext(
PluginManager.java:692)
        at org.apache.maven.plugin.PluginManager.prepAttainGoal(PluginManager.ja
va:685)
        at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
624)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
        at org.apache.maven.cli.App.doMain(App.java:486)
        at org.apache.maven.cli.App.main(App.java:1215)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:42)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:28)
        at java.lang.reflect.Method.invoke(Method.java:313)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)

You have encountered an unknown error running Maven. Please help us to correct
this problem by following these simple steps:
- read the Maven FAQ at http://maven.apache.org/faq.html
- run the same command again with the '-e' parameter, eg maven -e jar
- search the maven-user archives for the error at
http://nagoya.apache.org/eyebrowse/SummarizeList?listName=users@maven.apache.org

- post the output of maven -e to JIRA at
http://jira.codehaus.org/BrowseProject.jspa?id=10030 (you must sign up first)
- run 'maven --info' and post the output as the environment to the bug above


Total time: 5 seconds
Finished at: Wed Sep 01 11:46:13 GMT+05:30 2004



Could anyone help me out to solve this problem?

Thanks & Regards,
Sunil


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org