jdk 1.3 and jaxp
Hi all.
I'm having trouble working with jaxp1.3. Indeed, I'm working with an old jdk(1.3).
When I'm trying to run my ant, an error occures :
bad class file: lib\jaxp-api.jar(javax/xml/parsers/DocumentBuilderFactory.class)
[javac] class file has wrong version 48.0, should be 47.0
Could someone help me ? I don't know where it comes from ...
Thanks,
florent_b
[419 byte] By [
florent_ba] at [2007-11-26 16:32:50]

# 5
If you have all the necessary class files installed properly, it's worth checking the paths and their order in the CLASSPATH environment variable. It may contain multiple references to classes named DocumentBuilderFactory, and the one with inappropriate version comes before the appropriate one so javac.exe stops searching at the first one and tries to use it. In this case rearranging the paths or renaming/removing a jar file or two can help.