美文网首页
Error creating bean with name 'm

Error creating bean with name 'm

作者: 索性流年 | 来源:发表于2020-09-18 10:04 被阅读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

个人解决方法

  • 新创建 config 包
  • 创建任意 .class 文件 添加注解
@Configuration
@ComponentScan("org.springframework.boot.actuate.autoconfigure.metrics")

相关文章

网友评论

      本文标题:Error creating bean with name 'm

      本文链接:https://www.haomeiwen.com/subject/wqkpjktx.html