一,在1.1.22版本druid使用提示如下异常
Sorry, you are not permitted to view this page.
application.yam配置应该修改为如下:
druid: #配置druid访问的账号密码 stat-view-servlet: enabled: true loginUsername: test loginPassword: test #禁用重置按钮 reset-enable: false url-pattern: /druid/* allow: "" deny: "" web-stat-filter: enabled: true
二,在1.1.10版本的配置如下
datasource: druid: #配置druid访问的账号密码 stat-view-servlet: enabled: true loginUsername: test loginPassword: test allow: web-stat-filter: enabled: true