[Laszlo-dev] Question about xerces.jar
dhughes at alagad.com
Tue Jan 25 10:18:07 PST 2005
Just wondering, but does Laszlo 3 happen to include xerces.jar in some
manner or another? I haven't been able to find it anywhere. At the same
time, the errors which are cropping up in JRun seem to be related to this.
I'm seeing the java.lang.NoSuchMethodError error listed below... and at the
same time, I can't find xerces.jar. There are a few other files which start
with xerces and end in .jar.... I don't think these are the same. Any
I tried to use JDOM and get an error like this:
You need to ensure that the xerces.jar file supplied with the JDOM download
is in your classpath before any other XML classes, such as those that come
with JAXP or Crimson. These other XML libraries, as well as older versions
of Apache Xerces, support DOM Level 1 and SAX 1.0, not the required DOM
Level 2 and SAX 2.0. The result is an exception being thrown. Check your
classpath, and try again. If the classpath looks OK, the problematic JAR
might also be hiding in the system's standard extension directory (see the
What do you mean "Standard extension directory"?
The standard extension directory is a directory containing JAR files that is
searched automatically by the Java runtime and compiler. If you've installed
the JDK (not the just the JRE) you may well have two separate ext
directories, one of which is used for compiling (typically somewhere like
C:\jdk1.3\jre\lib\ext) and the other of which is used for running code
(typically somewhere like C:\Program Files\JavaSoft\jre\1.3\lib\ext). The
wrong JAR file in either directory can get in your way (though at different
times). Furthermore, the right JAR file has to be in both directories.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Laszlo-dev