Hi Gerald,

Take a look in Ant's lib directory (i.e. %ant_home%\lib) and see if there
are 2 jars named jaxp.jar and parser.jar. If there are, move them into a bak
directory, so that ant.jar can't find them. Then give it a shot.

Thanks,
-Matt

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 05, 2001 4:50 PM
> To: [EMAIL PROTECTED]
> Subject: Re: I'm having trouble compiling SOAP
>
>
>
> I forgot to mention that I'm using jakarta ant and the build.xml file to
> compile it.  I'm simply typeing "ant" in the dir in which build.xml
> resides.
>
>
>
> Gerald Tarcisius/Toronto/Contr/IBM@IBMCA on 07/05/2001 04:19:58 PM
>
> Please respond to [EMAIL PROTECTED]
>
> To:   [EMAIL PROTECTED]
> cc:
> Subject:  I'm having trouble compiling SOAP
>
>
> My list of errors begins like this:
>
> compile:
>     [javac] Compiling 11 source files to
> D:\xml\xml-soap\java\build\classes
>     [javac] D:
> \xml\xml-soap\java\src\org\apache\soap\AttributeHandler.java:234:
> Method getNamespaceURI() not found in interface org.w3c.dom.Attr.
>     [javac]       String namespaceURI = attr.getNamespaceURI();
>     [javac]                                                 ^
>     [javac] D:
> \xml\xml-soap\java\src\org\apache\soap\AttributeHandler.java:235:
> Method getLocalName() not found in interface org.w3c.dom.Attr.
>     [javac]       String localName = attr.getLocalName();
>
> I think it's a dom jar problem, but I'm not sure what I'm doing
> wrong.  I'm
> attaching what my CLASSPATH looks like so you have a rough idea what order
> my jars are in:
>
> C:\xml4j\XML4J-3_1_1\xerces.jar;C:\xml4j\XML4J-
> 3_1_1\xml4j.jar;C:\IBMCON~1\classes;C:\IBMCON~1\CICS\Classes\CTGCLI~1.JAR
> ;.;C:\P
> rogra~1\SQLLIB\java\db2java.zip;C:\Progra~1\SQLLIB\java\runtime.zip;C:
> \Progra~1\
> SQLLIB\java\sqlj.zip;C:\Progra~1\SQLLIB\bin;C:\ant\jakart~1.3\lib;D:
> \xml\soap\so
> ap-2_2\lib;C:\ant\jakart~1.3\build\classes;D:\xml\soap\soap-
> 2_2\lib\soap.jar;C:\javamail\javama~1.2\mail.jar;C:\jaf\jaf-
> 1.0.1\activation.jar;c:\jdk1.3.1\lib\tools.jar;C:\jdk1.3.1\jre\lib\rt.jar;
> D:\xml
> \uddi4j\build\classes;C:\jakarta-
> servlet\build\servletapi\classes;C:\JavaDOMBinding\xalan-
> j_2_2_D6\build\classes;D:\xml\soap\soap-2_2\build\classes
>
>
> Thanks in advance,
> Gerald
>
>
>
>
>

Reply via email to