thijs
Oct 12th, 2004, 09:36 AM
I have a class that has a overloaded method. This class is cglib proxied by AutoProxyCreator so it participates in Hibernate transactions.
In the bean tag I define a lookup method:
<lookup-method name="createPage" bean="page"/>
On startup a java.lang.ClassFormatException is thrown with the message:
Repetitive method name/signature in class file {...}$$EnhancerByCGLIB$$fd52ded2$$EnhancerByCGLIB$ $25b980a8
The lookup method process works fine in other proxied beans. The only difference I've been able to find is the overloaded message.
If I don't proxy the bean, the lookup-method works to.
Is using overloaded methods in this setup not supported? Am I missing something?
In the bean tag I define a lookup method:
<lookup-method name="createPage" bean="page"/>
On startup a java.lang.ClassFormatException is thrown with the message:
Repetitive method name/signature in class file {...}$$EnhancerByCGLIB$$fd52ded2$$EnhancerByCGLIB$ $25b980a8
The lookup method process works fine in other proxied beans. The only difference I've been able to find is the overloaded message.
If I don't proxy the bean, the lookup-method works to.
Is using overloaded methods in this setup not supported? Am I missing something?