passing objects between projects
I have created two projects in netbeans, a server and a client. in the client i have an clientObject.java which holds input information from the user. I have put the client.jar file in the server library, but when running the server and then starting the client. it gives me a noClassDefNotFoundError. here is my code on the server side for getting the incoming object
import client.patientObject;
...
declaration
client.patientObject patient =new client.patientObject();
and then where I receive the object I have it as so
receiving
patient = (client.patientObject)objIn.readObject();
I think that the object is being sent correctly because it is getting there and throwing that error, telling me that client.patientObject cannot be found.
Any help will be appreciated.

