错误信息描述:

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [com/alibaba/druid/spring/boot/autoconfigure/DruidDataSourceAutoConfigure.class]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: dbType not support : dm, url jdbc:dm://127.0.0.1:5256/SYSDBA

Alibaba druid 配置了 wall Filter(防火墙过滤),报异常:dbType not support

解决办法: 

去掉 wall 配置,对应配置文件里的把 fitter 的 wall 删掉。

 

更多推荐