Idea中mapper的xml文件报错 unable to resolve table

参考Z001错误汇总-IntelliJ IDEA提示Unable to resolve table '表名'

1. 具体表现

在正常使用IntelliJ IDEA连接到数据库后,SQL语句提示Unable to resolve table '表名',而且其他的字段也标红提示错误

2. 解决操作

  1. 右键点击数据库,选择Database Tools,再选择Manage Shown Schemas...

  2. 勾选你所使用的数据库

解决问题

posted @ 2020-04-22 17:19  if年少有为  阅读(9837)  评论(3编辑  收藏  举报