Error creating bean with name 'm

2020-09-18  本文已影响0人  索性流年

完整报错

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'meterRegistryPostProcessor' defined in class path resource [org/springframework/boot/actuate/autoconfigure/metrics/MetricsAutoConfiguration.class]: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut mQAdminMethodPointCut

个人解决方法

@Configuration
@ComponentScan("org.springframework.boot.actuate.autoconfigure.metrics")
上一篇 下一篇

猜你喜欢

热点阅读