Hi,
I am using AspectJ to dependency inject a domain object (domain.report.Report) and I'm using Hibernate for persistency.
When I run a test that loads my object it worked fine, but when I try to load it using lazy loading I notice that the CGLIBLazyInitializer in his getProxy() method failed to create a Proxy to my object, and eventually The following exception is thrown:Well... indeed no such bean (domain.report.Report$$EnhancerByCGLIB$$ea01d7bc) is defined in my spring's context files, my xmls populate bean for the real domain object which is domain.report.Report.Code:org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'domain.report.Report$$EnhancerByCGLIB$$ea01d7bc' is defined.
I'm using Spring 2.0, @Configurable and <aop:spring-configured/>
Thanks in advance.
Guy.


Reply With Quote