Suspicious URL pattern: [/druid/**] in context [], see sections 12.1 and 12.2 of the Servlet specification
原因是:new ServletRegistrationBean(new StatViewServlet(),"/druid/**");多写了一个点
改为 new ServletRegistrationBean(new StatViewServlet(),"/druid/*");就可以了