Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Re: Where is org.apache.xerces.jaxp.SAXParserFactoryImpl?
Re: Where is org.apache.xerces.jaxp.SAXParserFactoryImpl? [message #203608] Mon, 05 November 2007 13:59 Go to next message
Eclipse UserFriend
Originally posted by: nospam_kowalskilee.gmail.com

Hi Chris,

Because org.apache.xerces.jaxp.SAXParserFactoryImpl seems to be related
to Eclipse Web Tools, the eclipse.webtools newsgroup might be the best
place to pose your questions about the symptoms you're seeing.

I've added the eclipse.webtools newsgroup to this reply, so they can see
the start of this thread.

--Lee Anne



Chris Kimball wrote:
> Just updated to Mac OS X 10.5 and suddenly Eclipse (3.3.1.1 Build id:
> M20071023) ant tasks fail to run, saying:
>
>
> XML parser factory has not been configured correctly: Provider
> org.apache.xerces.jaxp.SAXParserFactoryImpl not found
>
>
> What jar contains org.apache.xerces.jaxp.SAXParserFactoryImpl ? If I
> find it, where should it go?
>
> -----
>
> Outside of Eclipse, the ant (1.7.0) command fails differently:
>
> /Users/kimball/Projects/Tanach/ant/TanachDeploy.xml:80: Problem: failed
> to create task or type ftp
> Cause: the class org.apache.tools.ant.taskdefs.optional.net.FTP was not
> found.
> This looks like one of Ant's optional components.
> Action: Check that the appropriate optional JAR exists in
> -/usr/share/ant/lib
> -/Users/kimball/.ant/lib
> -a directory added on the command line with the -lib argument
>
> Do not panic, this is a common problem.
> The commonest cause is a missing JAR.
>
> This is not a bug; it is a configuration problem
>
> What jar contains org.apache.tools.ant.taskdefs.optional.net.FTP? It
> isn't either commons-net or jakarta-oro. Where should the jar go. I'm
> assuming it goes in usr/share/ant/lib.
>
>
>
Re: Where is org.apache.xerces.jaxp.SAXParserFactoryImpl? [message #203744 is a reply to message #203608] Mon, 05 November 2007 22:23 Go to previous message
Lawrence Mandel is currently offline Lawrence MandelFriend
Messages: 486
Registered: July 2009
Senior Member
Hi Chris,

Unless you're trying to run a Web Tools ant task I don't think this is WTP
related. However, the parser in question is from the Apache Xerces [1]
project. In this context Xerces is a Java based XML parser. You're likely
getting this error because Xerces is not included in your JRE. (I'm not
familiar with the Max JRE but this used to happen with older Sun JREs.)

Xerces is available as a bundle from the Orbit project [2] and is
available in Eclipse (if installed) in the bundle org.apache.xerces. Add
this bundle or the Xerces jar to your path and you should be good to go.

Lawrence

[1] http://xerces.apache.org/xerces2-j/
[2] http://www.eclipse.org/orbit/
Previous Topic:WTP, JBOSS 4.2 and EJB 2
Next Topic:Reminder of Eclipse Demo Camps
Goto Forum:
  


Current Time: Thu Apr 18 14:44:52 GMT 2024

Powered by FUDForum. Page generated in 0.01693 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top