공부
[Java] The dependencies of some of the beans in the application context form a cycle
승가비
2024. 3. 12. 00:36
728x90
@Service
public class AServiceImpl implements AService {
private final ARepository aRepository;
public AServiceImpl(@Lazy ARepository aRepository) {
super();
this.aRepository = aRepository;
}
...
}
The dependencies of some of the beans in the application context form a cycle
I'm working on a Spring Boot v1.4.2.RELEASE application with JPA. I defined repository interfaces and implementations ARepository @Repository public interface ARepository extends CrudRepository&...
stackoverflow.com
728x90