[jdom-interest] jdom b6 with jdk 1.2.2 or 1.3.0

philip.nelson at omniresources.com philip.nelson at omniresources.com
Tue May 22 10:35:05 PDT 2001


It's hard to be sure, but you are having a problem with JAXP.  Assuming that
the JAXP included in the lib directory is OK, then I would assume that you
have a different version of JAXP or jaxp implementation classes in your
jre/lib/ext directory.

if that isn't it, one thing to try would be to modify the build.bat to
include this on the java call line:
java
-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactory
Impl <rest of line

>
> hi there
> 
> i'm trying to run the build file which comes with jdom, i'm 
> doing exactly
> what it's written in the readme.txt file.
> 
> when i'm using jdk 1.2.2 it's not building, it's giving 
> "BUILD FAILED" and
> the following error.
> 
> BUILD FAILED
> 
> javax.xml.parsers.FactoryConfigurationError:
> com.sun.xml.parser.SAXParserFactoryImpl
>         at
> javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactor
> y.java:84)
>         at
> org.apache.tools.ant.ProjectHelper.getParserFactory(ProjectHel
> per.java:498)
>         at 
> org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:100)
>         at org.apache.tools.ant.Main.runBuild(Main.java, 
> Compiled Code)
>         at org.apache.tools.ant.Main.main(Main.java:107)
> 
> 
> but when building with jdk 1.3.0 it's working fine. i just 
> want to make sure
> if this is a limitation of jdom. i mean does jdom works with 
> jdk122, coz my
> application uses jdk122 and i can't change it very soon.
> 
> thank you.
> 
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/yo
uraddr at yourhost.com



More information about the jdom-interest mailing list