一般解决方法:
1.菜单栏view ——> Tool Windows ——>Persistence
Cannot resolve table ''
2.右击项目,选择Assign Data Source

3.选择数据库Cannot resolve table ''
特别:
4.如果仍然报错,可能是没切换到要使用的表
Cannot resolve table ''

参考

相关文章: