Hello,
I use http Invoker remoting technology to access services remotely.
I have a service that invoke remotely another service by http invoker.
These 2 services are deployed in 2 separated wars. In each war, there is the object ClientIdentification.
First, the service (MyService) calls remotely the other service (clientService) to get the object ClientIdentification (1) :
Secondly, the service (MyService) calls remotely the other service (ClientService) to update the object ClientIdentification. (2)
When I do the update, there is the following exception :Code:public void MyService { public void updateClient() { ClientIdentification clientIdentification = this.clientService.viewClient("000001"); (1) clientIdentification.setNumberOfChildren(4); this.clientService.updateClient(clientIdentification); (2) } }
org.springframework.web.util.NestedServletExceptio n: Class not found during deserialization; nested exception is java.lang.ClassNotFoundException: No ClassLoaders found for: com.cwsoft.client.client.businessobject.ClientIden tification
Caused by:
java.lang.ClassNotFoundException: No ClassLoaders found for: com.cwsoft.client.client.businessobject.ClientIden tification
I suspect that the classloader of the ClientIdentification object in the caller service is not the same as the ClientIdentification object in the service accessed.
Is there any solution or advice to resolve this problem ?
Thanks in advance,
Jérémie Balcaen


Reply With Quote