wood burning stoves
The moose likes Web Services and the fly likes problems with JWS and Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Web Services
Bookmark "problems with JWS and Eclipse" Watch "problems with JWS and Eclipse" New topic

problems with JWS and Eclipse

I�igo Alconada

Joined: Aug 25, 2008
Posts: 1

I am developing a program based on Web Services. Server part is OK. I am developing a java client for one method of the Web Service. I am using eclipse as IDE.
Basically, the client is a java main class that is listenning to an UDP port and at data arrival, a call has to be made to the corresponding method of the web service.
If a run this class with Eclipse as Java bean or as java application it works perfect but I can�t find the way of running it out of eclipse, I mean, in a linux server or my own windows command line.

If I export the project as jar and execute I get this exception:

Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/rpc/Service
at java.lang.ClassNotFoundException: javax.xml.rpc.ServiceException
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)

Thanks in advance.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: problems with JWS and Eclipse
It's not a secret anymore!