poonam pac schrieb:
> Hello,
> As suggested by you I made the changes in my Application developed
> integrating "GWT+Spring
> +Hibernate" in the Hosted mode but still I am getting the same Warning
> message as : StandardContext[]Exception while dispatching
> incoming RPC call
>
> Please help me to solve it. I am sending you the detailed Warning
> message below -
>
> [WARN] StandardContext[]Exception while dispatching incoming RPC call
> com.google.gwt.user.server.rpc.UnexpectedException: Service method
> 'public abstract java.util.List
> com.company.client.rpc.TeacherService.getPupils(java.lang.Integer)'
> threw an unexpected exception: java.lang.NoClassDefFoundError:
> org/springframework/context/ApplicationContext
It seems that the answer you return with getPupils (inside the List)
contains an instance of type org.springframework.context.ApplicationContext.
Because that class is not known by the RFC-Response-Encoder you get
this error.
I don't know Spring and the integration with GWT but you can try
getting rid of this instance in the returned classes.
Regards, Lothar