SpringBoot中使用druid访问http://localhost:8080/druid/login.html时出现以下界面
ServletRegistrationBean<StatViewServlet> bean = new ServletRegistrationBean<>(new StatViewServlet(),"/druid/*");
添加上访问的路径"/druid/*"就行了。就阔以访问了。
SpringBoot中使用druid访问http://localhost:8080/druid/login.html时出现以下界面
ServletRegistrationBean<StatViewServlet> bean = new ServletRegistrationBean<>(new StatViewServlet(),"/druid/*");
添加上访问的路径"/druid/*"就行了。就阔以访问了。
Spring boot 配置數據源 spring: mvc: favicon: enabled: false datasource: primary: username: root