Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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$ Source)
at Method)
at 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 agree. Here's the link:
subject: problems with JWS and Eclipse
It's not a secret anymore!