SpringBoot-Learning icon indicating copy to clipboard operation
SpringBoot-Learning copied to clipboard

chapter3-3配置druid监控的问题

Open lc550845723 opened this issue 3 years ago • 0 comments
trafficstars

"第一步:在pom.xml中引入spring-boot-starter-actuator模块"关于这一步的问题

我使用的springboot版本是2.6.3,引入的swagger2启动报错:Failed to start bean ‘documentationPluginsBootstrapper’; nested exception is java.lang.NullPointerException,然后增加配置spring.mvc.pathmatch.matching-strategy=ant_path_matche解决上述启动报错的问题。

但是引入spring-boot-starter-actuator依赖,启动项目又出现上述问题。 好几天了,没找到怎么解决,( ̄﹏ ̄;)

lc550845723 avatar Feb 07 '22 09:02 lc550845723