Entrace类执行结果报错Cannot enhance @Configuration bean definition
来源:10-5 横切逻辑的加载分析(上)
![](http://img1.sycdn.imooc.com/user/545868f30001886f02200220-100-100.jpg)
qq_金风未动蝉先觉_0
2020-10-21
老师我在执行ServiceAspect和HiServiceAspect时,结果中有这样的信息,为什么你的执行结果中没有呀
十月 21, 2020 11:30:39 下午 org.springframework.context.annotation.ConfigurationClassPostProcessor enhanceConfigurationClasses
信息: Cannot enhance @Configuration bean definition 'customizedBeanDefinitionRegistryPostProcessor' since its singleton instance has been created too early. The typical cause is a non-static @Bean method with a BeanDefinitionRegistryPostProcessor return type: Consider declaring such methods as 'static'.
写回答
1回答
-
翔仔
2020-10-22
00
相似问题