1. view→Tool Windows→Persistence

 

idea报错:could not resolve column "xxx"的解决办法

2. Persistence中当前报错的项目名称右击→Assign Data Sources

idea报错:could not resolve column "xxx"的解决办法

3.在Data Source那一列选择你的数据库 → OK

idea报错:could not resolve column "xxx"的解决办法

相关文章: