티스토리 뷰

728x90
@Service
public class AServiceImpl implements AService {
    private final ARepository aRepository;
    public AServiceImpl(@Lazy ARepository aRepository) {
        super();
        this.aRepository = aRepository;
    }
    ...
}

https://stackoverflow.com/questions/41608705/the-dependencies-of-some-of-the-beans-in-the-application-context-form-a-cycle

 

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
댓글