view->Tool Windows->Database

IDEA使用JPA映射时解决cannot resolve column或cannot resolve table

默认情况下看IDEA的左边:

IDEA使用JPA映射时解决cannot resolve column或cannot resolve table

IDEA使用JPA映射时解决cannot resolve column或cannot resolve table

添加一个MySQL库,连接测试成功后!

进入View->Tool Windows->Persistence

IDEA使用JPA映射时解决cannot resolve column或cannot resolve table

随后点击Assign Data Sources...

选择一个即可,就不会报错了

IDEA使用JPA映射时解决cannot resolve column或cannot resolve table

IDEA使用JPA映射时解决cannot resolve column或cannot resolve table

 

 

相关文章: