[Opensource] DBTool error

Michael Rimov rimovm at centercomp.com
Fri Sep 6 17:11:44 PDT 2002


At 10:39 AM 9/5/2002 +0100, you wrote:
>Hi Mike
>
>I've switched to using the ea4 release as suggested, but essentially I'm
>getting the same problem:
>
>Found class org.apache.xerces.jaxp.SAXParserFactoryImpl but unable to
>instantiate ClassFactory org.apache.xerces.jaxp.SAXParserFactoryImpl
>javax.xml.parsers.FactoryConfigurationError:

Hi Malcom,

Ok, here's what is going on:

We first try to just load the class:
org.apache.xerces.jaxp.SaxParserFactoryImpl

Which succeeds... even if you have crimson in the classpath, since we first 
try Xerces, if Xerces is anywhere in your classpath, we'll end up that first.

But then there's some sort of version mismatch going on when we actually 
try to instantiate a ParserFactory, which is what's failing.

So I SUSPECT that there is an old Xerces getting into your classpath. [As 
of ea-4, since there's a xmlAPIs.jar as well as xercesImpl.jar (or 
something of that name :) ), it's possible that those aren't in the classpath??

I'd recommend just printing your classPath and posting it here if you're 
willing to do some more digging.
                                         -Mike




More information about the Opensource mailing list