錯誤緣由: druid開啓了防火牆,sql語句中包含where 1=1之類的語句,被認爲是sql注入,故報錯 解決辦法:把<property name="filters" value="stat" />中的 wall 去掉解決問題。sql