Thanks, that worked. :)


On Tue, Nov 5, 2013 at 8:13 PM, Ajith Vitharana <[email protected]> wrote:

> You should add the axis2-client jar  dependency to pom.xml.
>
> Thanks
> Ajith.
>
>
> On Tue, Nov 5, 2013 at 7:57 PM, Bhathiya Jayasekara <[email protected]>wrote:
>
>> Hi all,
>>
>> I'm getting following error when building a newly created service stub.
>> What could be the reason?
>>
>> [INFO] --- maven-antrun-plugin:1.1:run (source-code-generation) @
>> org.wso2.carbon.cassandra.mgt.stub ---
>> [INFO] Executing tasks
>>      [java] Exception in thread "main" java.lang.NoClassDefFoundError:
>> javax/wsdl/WSDLException
>>      [java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
>>      [java] at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
>>      [java] Caused by: java.lang.ClassNotFoundException:
>> javax.wsdl.WSDLException
>>       [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>>      [java] at java.security.AccessController.doPrivileged(Native Method)
>>      [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>>      [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>>      [java] at
>> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>>      [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>>      [java] ... 2 more
>>      [java] Java Result: 1
>>      [java] Exception in thread "main" java.lang.NoClassDefFoundError:
>> javax/wsdl/WSDLException
>>      [java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
>>      [java] at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
>>      [java] Caused by: java.lang.ClassNotFoundException:
>> javax.wsdl.WSDLException
>>      [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>>      [java] at java.security.AccessController.doPrivileged(Native Method)
>>      [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>>      [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>>      [java] at
>> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>>      [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>>      [java] ... 2 more
>>      [java] Java Result: 1
>>
>>
>> Thanks,
>>
>> --
>> *Bhathiya Jayasekara*
>> *Software Engineer,*
>> *WSO2 inc., http://wso2.com <http://wso2.com>*
>>
>> *Phone: +94715478185 <%2B94715478185>*
>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>> <http://www.linkedin.com/in/bhathiyaj>*
>> *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>*
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Ajith Vitharana.
> WSO2 Inc. - http://wso2.org
> Email  :  [email protected]
> Mobile : +94772217350
>
>


-- 
*Bhathiya Jayasekara*
*Software Engineer,*
*WSO2 inc., http://wso2.com <http://wso2.com>*

*Phone: +94715478185*
*LinkedIn: http://www.linkedin.com/in/bhathiyaj
<http://www.linkedin.com/in/bhathiyaj>*
*Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to