Method annotated with @Bean is called directly. Use dependency injection instead

在配置类中没有加上 

@Configuration

导致@Bean之间不能相互调用

posted @ 2022-12-01 16:01  唏嘘-  阅读(556)  评论(1编辑  收藏  举报