spring autowired aop circular dependency
问题 I'm using java config with @ComponentScan in order to initialize my beans and @EnableAspectJAutoProxy(proxyTargetClass=true) to use cglib proxies. In this project we have a lots of generated services autowired between them using @Autowired . It works pretty well. But, for some of these services I've added @Async (I've also added @EnableAsync(proxyTargetClass = true) on my @Configuration class). After that, I'm getting: Caused by: org.springframework.beans.factory