CMC Global Interview Question

How to resolve circular dependency problem between 2 classes A and B in Spring?