09_Idea的JPA项目中实体类报错:cannot resolve column或cannot resolve table的解决方案

步骤如下:

  1. 第一步:view->Tool Windows->Persistence

09_Idea的JPA项目中实体类报错:cannot resolve column或cannot resolve table的解决方案_第1张图片
2.第二步:左下角persistence中右键项目->Assign Data Sources

09_Idea的JPA项目中实体类报错:cannot resolve column或cannot resolve table的解决方案_第2张图片

3.第三步:Assign Data Sources弹窗中选择自己的Data_Source
09_Idea的JPA项目中实体类报错:cannot resolve column或cannot resolve table的解决方案_第3张图片

你可能感兴趣的:(09_Idea的JPA项目中实体类报错:cannot resolve column或cannot resolve table的解决方案)