Spring consider using ‘getBeanNamesOfType‘ with the ‘allowEagerInit‘ flag turned off, for example.

看下spring说的类,两个类之间发生循环引用了,请在一方的注入属性上添加@Lazy注解。避免循环引用。

你可能感兴趣的:(Spring)