I have a proxy problem which is driving me nuts, and hope someone can help resolve it.
I have a data access object which is dynamically proxied and contains several other wired beans.
I need one of these other beans to also be proxied, so that I can apply an advice. The trouble is when I proxy the contained bean I get the following exception
I've tried setting the target class's proxyTargetClass value to true, but I get the same problem.
Caused by: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'routerDAO': org.springframework.bea
ns.factory.FactoryBeanNotInitializedException: Cannot determine target class for proxy
Any help would be much appreciated.