Caused by: java.lang.ClassNotFoundException: com.alibaba.druid.filter.logging.Log4j2Filter
2020-12-26 13:29
标签:ase sof cep hsqldb tar spring 应该 sql version 查看github的解决方案:https://github.com/alibaba/druid/issues/2942 你安装的应该是低版本的druid没有这个类,升级到新版;指定druid-spring-boot-starter但没指定druid也可能出现这个错误 添加druid starter包的同时,也要添加druid的包即可解决报错。 此外对于validation-query属性,不同的数据库值也不一样。 Caused by: java.lang.ClassNotFoundException: com.alibaba.druid.filter.logging.Log4j2Filter 标签:ase sof cep hsqldb tar spring 应该 sql version 原文地址:https://www.cnblogs.com/chsoul/p/13036803.html
DataBase
validation-query
hsqldb
select 1 from INFORMATION_SCHEMA.SYSTEM_USERS
Oracle
select 1 from dual
DB2
select 1 from sysibm.sysdummy1
MySql
select 1
Microsoft SqlServer
select 1
postgresql
select version()
ingres
select 1
derby
select 1
H2
select 1
文章标题:Caused by: java.lang.ClassNotFoundException: com.alibaba.druid.filter.logging.Log4j2Filter
文章链接:http://soscw.com/index.php/essay/38363.html