原因:druid监控页面是一个servlet,需要让SpingBoot支持servlet.在程序入口添加注解
@ServletComponentScan
@SpringBootApplication
public class App {

    public static void main(String[] args) {
        SpringApplication.run(App.class, args);
    }
}

 

相关文章:

  • 2022-12-23
  • 2021-06-05
  • 2022-12-23
  • 2021-11-29
  • 2022-01-13
  • 2022-03-12
  • 2022-01-06
  • 2021-12-03
猜你喜欢
  • 2021-05-20
  • 2021-11-18
  • 2021-10-28
  • 2022-12-23
  • 2022-12-23
  • 2022-02-17
  • 2022-12-23
相关资源
相似解决方案