[Bug0017] IDEA中 Mapper.xml 文件显示红色,提示 Unable to resolve table xxx
1、问题
Unable to resolve table xxx
2、场景
Idea 切换 MySQL 数据源时报错,Mapper.xml文件显示红色,提示 Unable to resolve table xxx
3、原因
===待梳理=
4、解决方案
如图 Idea 提示,点击选择 Go to sql resolution Scope 项。

进入 Go to sql resolution Scope 界面选择对应数据库即可

此外可以通过 File==》Setting 找到此界面修改即可。


浙公网安备 33010602011771号