Hello All,
I just downloaded the Apache's XML parser ( "Xerces2", from web site
xml.apache.org ) for Java 2.
When I tried to compile a SAX sample (included on the package) I receive a
lot of errors, because the compiler does not find several classes. Some
examples bellow:
Counter.java:62: cannot resolve symbol
symbol : class Attributes
location: package sax
import org.xml.sax.Attributes;
^
Counter.java:63: cannot resolve symbol
symbol : class Parser
location: package sax
import org.xml.sax.Parser;
...
...
etc.
etc.
I checked the .JAR files ( xercesImpl.jar , xercesSamples.jar,
xmlParserAPIs.jar ) and these clasess are included there.
My CLASSPATH environment variable contains the path of these .JAR files.
Also I copied the files to the location of the standard Java .JAR files and
still does not work. Also I tried with the -classpath directive on the Java
compiler and does not work.
There is no special instructions to install the XML JAR files (I don't know
if some special registration or some environment variable must be set for
the Java compiler).
Do you have any idea how I can solve this problem ? I have to register in
some pleace these .JAR files in order the Java compiler looks into this JAR
files ?
I am using Sun's Java 2 on Windows 2000 professional edition.
Any Help will be appreciated.
Thanks.
Aquiles.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]