Settings ⇒ Editor ⇒ Inspections ⇒ SQL ⇒ No data sources configure
⇒ SQL dialect delction 将这两项后面的对勾 勾掉即可
解决could not autowire错误提示入下图设置