I have just downloaded the release version of Spring 1.1. I am using lookup method injection using <lookup-method name="..." bean="..." />. It works perfectly.
However I receive a "Not serializable: net.sf.cglib.proxy.NoOp$1" error with the bean containing the injected method. As a result my HttpSessions won't serialize.
Is there a workaround?
I see that the Dynaop project https://dynaop.dev.java.net can make CGLIB proxies serializable - see its dynaop.CglibProxyHandle class. Is there any way to apply this method using Spring?
Thanks in advance for any suggestions or comments.


Reply With Quote