What's your JDK ? Are you using JDK 1.5 or not ?
Also do you see the jars in tomcat's shared/lib dir ?
Jitu
yuyin Song wrote:
>Dear All,
>
>I tried to run fromwsdl example of JAX-WS 2.0 on
>Tomcat 5.5. I used follwoing commands to do both
>client and servver sides.
>
>Client side:
>ant clean client -Dtomcat=true
>
>The error information of server side is as follows:
>build-server-wsdl:
>C:\SensorWebServices\jaxws-ri\samples\fromwsdl\build.xml:139:
>the following error ocuured while executing this line:
>java.lang.NoSuchMethodError:com.sun.xml.stream.XMLEntityStorage.<init>
><Lcom/sun/xml/stream/XMLEntityManager:>V
>
>server side:
>
>For service side:
>ant clean server -Dtomcat=true
>
>The error information of server side is as follows:
>build-server-wsdl:
>C:\SensorWebServices\jaxws-ri\samples\fromwsdl\build.xml:139:
>the following error ocuured while executing this line:
>java.lang.NoSuchMethodError:com.sun.xml.stream.XMLEntityStorage.<init>
><Lcom/sun/xml/stream/XMLEntityManager:>V
>
>
>The error information of client and server side are
>the same. it looks like XML library problem. How to
>fix it ? Thank you so much.
>
>Best Regards,
>
>Yuyin Song
>
>
>
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam? Yahoo! Mail has the best spam protection around
>http://mail.yahoo.com
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_jax-ws.dev.java.net
>For additional commands, e-mail: users-help_at_jax-ws.dev.java.net
>
>
>