Urgent Issue...

3 views
Skip to first unread message

Nishant Gupta

unread,
Jun 15, 2011, 11:53:57 PM6/15/11
to newidea_or...@googlegroups.com
Hi Guys,

When I try creating a Web App based client for my web service already deployed in JBoss, I get the following error-
"taskdef class com.sun.tools.ws.ant.WsImport cannot be found"

The jax api's are already in classpath. The funny thing is the same client runs fine on Glassfish/Tomcat 7.

I need help on this asap... so please pitch in...

Thanks all !

Thanks & Regards,

Nishant Gupta,
Developer (TCS-Apple)
neo324893 @ AIM )
+91 8050041001, 9620779208 )

vijay kumar

unread,
Jun 16, 2011, 1:16:10 AM6/16/11
to newidea_or...@googlegroups.com

Hi Nishant Gupta,

       Regret for helpless . becuase am not aware of those concept . I found Clue

as per my leavel.  the issue is due to the relevant jaxws jar not being in the class path see the <pathelement> node below.  adding  the jar to the classpath will resolve.

<property name=”BUILD_LIBS” location=”C:/Projects/Build/Libs/” />

<taskdef name=”wsimport” classname=”com.sun.tools.ws.ant.WsImport”>
    <classpath>
        <pathelement location=”${BUILD_LIBS}/jaxws-ri/lib/jaxws-tools.jar”/>
    </classpath>
</taskdef>

Regards

Vijay



--
You received this message because you are subscribed to the Google
Groups "Technical Discussion" group.
To post to this group, send email to
newidea_or...@googlegroups.com
To unsubscribe from this group, send email to
newidea_or_techn...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/newidea_or_technical?hl=en

Reply all
Reply to author
Forward
0 new messages