views:

37

answers:

2

Hi,

When i try to make an RPC call to the server i get the following error message

** WebModule[/ProjectName]Exception while dispatching incoming RPC call java.lang.NoClassDefFoundError: net/sf/cglib/proxy/Enhancer**

Is this any classpath issue?or do i need to include any lib file or something in my project?

I tried searching for a solution but could not find one online.

Thanks

A: 

Hibernate extends your entity classes so that gwt cannot serialize them, meaning you need to separate classes for sending the data over an rpc.

You will find more info on this page

pathed
A: 

Try to copy .jar file that contains net.sf.cglib.proxy.Enhancer class to war/web-inf/lib directory. Apparently, it's must be hibernate jar.

Xo4yHaMope