You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-user@ws.apache.org by Giovanni Fleres <gi...@tin.it> on 2006/10/03 18:06:13 UTC
Compile's error in simple sample
Hi,
I'm trying to compile simple sample and when I execute ant,
I received these errors:
--------------- begin error --------------------
C:\muse-2.0.0\samples\simple>ant
Buildfile: build.xml
init:
clean:
layout:
[copy] Copying 67 files to C:\muse-2.0.0\samples\simple\build
[copy] Copying 9 files to
C:\muse-2.0.0\samples\simple\build\WEB-INF\servic
es\muse
[copy] Copying 1 file to
C:\muse-2.0.0\samples\simple\build\WEB-INF\service
s\muse\META-INF
[copy] Copying 1 file to
C:\muse-2.0.0\samples\simple\build\WEB-INF\service
s\muse
[copy] Copying 20 files to
C:\muse-2.0.0\samples\simple\build\WEB-INF\lib
java:
[mkdir] Created dir: C:\muse-2.0.0\samples\simple\build\bin
[javac] Compiling 6 source files to
C:\muse-2.0.0\samples\simple\build\bin
[javac]
C:\muse-2.0.0\samples\simple\src\org\apache\muse\test\simple\SimpleT
estClient.java:117: reference to readWSDL is ambiguous, both method
readWSDL(jav
a.lang.String,org.w3c.dom.Element) in javax.wsdl.xml.WSDLReader and
method readW
SDL(javax.wsdl.xml.WSDLLocator,org.w3c.dom.Element) in
javax.wsdl.xml.WSDLReader
match
[javac]
WSDLFactory.newInstance().newWSDLReader().readWSDL(null,
wsdl);
[javac] ^
[javac] 1 error
BUILD FAILED
C:\muse-2.0.0\samples\simple\build.xml:69: Compile failed; see the
compiler erro
r output for details.
Total time: 13 seconds
C:\muse-2.0.0\samples\simple>
--------------- end error --------------------
Could anybody help me ?
Thanks in advance
Giovanni
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-user-help@ws.apache.org
Re: Compile's error in simple sample
Posted by Daniel Jemiolo <da...@us.ibm.com>.
The Axis2 team just upgraded WSDL4J from 1.5.3 to 1.6.1, which added a new
overloaded method and is causing the compilation error. Luckily, this
change does not affect the compilation of the Muse source tree.
I changed the sample's build.xml file by replacing this XML:
<fileset dir="${MUSE_TEMPLATE}/WEB-INF/lib">
<include name="wsdl4j*.jar"/>
</fileset>
with this:
<fileset dir="${MUSE_HOME}/lib/common">
<include name="wsdl4j*.jar"/>
</fileset>
and everything worked. We have WSDL4J 1.5.3 in /lib/common, but the
build.xml file happened to pick up the WSDL4J from Axis2's WEB-INF/lib.
make sure you include /lib/common/wsdl4j.jar when running the test app.
Dan
Giovanni Fleres <gi...@tin.it> wrote on 10/03/2006 12:06:13 PM:
> Hi,
> I'm trying to compile simple sample and when I execute ant,
> I received these errors:
>
> --------------- begin error --------------------
>
>
> C:\muse-2.0.0\samples\simple>ant
> Buildfile: build.xml
>
> init:
>
> clean:
>
> layout:
> [copy] Copying 67 files to C:\muse-2.0.0\samples\simple\build
> [copy] Copying 9 files to
> C:\muse-2.0.0\samples\simple\build\WEB-INF\servic
> es\muse
> [copy] Copying 1 file to
> C:\muse-2.0.0\samples\simple\build\WEB-INF\service
> s\muse\META-INF
> [copy] Copying 1 file to
> C:\muse-2.0.0\samples\simple\build\WEB-INF\service
> s\muse
> [copy] Copying 20 files to
> C:\muse-2.0.0\samples\simple\build\WEB-INF\lib
>
> java:
> [mkdir] Created dir: C:\muse-2.0.0\samples\simple\build\bin
> [javac] Compiling 6 source files to
> C:\muse-2.0.0\samples\simple\build\bin
> [javac]
> C:\muse-2.0.0\samples\simple\src\org\apache\muse\test\simple\SimpleT
> estClient.java:117: reference to readWSDL is ambiguous, both method
> readWSDL(jav
> a.lang.String,org.w3c.dom.Element) in javax.wsdl.xml.WSDLReader and
> method readW
> SDL(javax.wsdl.xml.WSDLLocator,org.w3c.dom.Element) in
> javax.wsdl.xml.WSDLReader
> match
> [javac]
> WSDLFactory.newInstance().newWSDLReader().readWSDL(null,
> wsdl);
> [javac] ^
> [javac] 1 error
>
> BUILD FAILED
> C:\muse-2.0.0\samples\simple\build.xml:69: Compile failed; see the
> compiler erro
> r output for details.
>
> Total time: 13 seconds
> C:\muse-2.0.0\samples\simple>
>
>
>
>
> --------------- end error --------------------
>
>
> Could anybody help me ?
>
> Thanks in advance
>
> Giovanni
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: muse-user-help@ws.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-user-help@ws.apache.org