Okay, I've copied my files to my PC and attempted to
run the Ant build using the build.xml given on the
Tomcat 5.0 site. It runs for about 2 seconds and
spits out this error:
C:\apache-ant-1.6.1\bin\build.xml:21:
java.lang.VerifyError: (class: org/apache/
xerces/jaxp/DocumentBuilderImpl, method: parse
signature: (Lorg/xml/sax/InputSou
rce;)Lorg/w3c/dom/Document;) Incompatible object
argument for function call
I did some searching on google and found out that
there is some combination of jdk + xerces + Ant that
causes this to go bad but the only solution I found
was for a JUnit problem and it didn't seem to
translate. I also searched the archives and found
similar issues but with older versions of the
respective products. Most fixes were of the "upgrade
to version x" kind (which I'm already at). This is
what I'm running with:
Ant: 1.6.1
JDK: 1.4.2_03
Tomcat: 4.1.18 (5.0.19 gave the saem result, see
below)
I noticed in the Ant lib directory I have two jar
files:
xercesImpl.jar and xml-apis.jar
and in the Tomcat common/endorsed directory I have
xercesImpl.jar and xmlParserAPIs.jar
The two xercesImpl.jar's are different sizes. Which
of these (if either) is Ant complaining about? So far
I've:
1) removed both jars from the common/endorsed dir but
got the same result so I put them back.
2) Copied the jars from the common/endorsed directory
to common/lib. Didn't work.
3) Replaced the jar in the Ant lib directory with
those from the Tomcat common/endorsed dir. Didn't
work.
4) Attempted to do the same thing in a Tomcat 5.0.19
install directory and got the same result.
Any ideas or pointers to information?
Jason
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]