view->Tool Windows->Database

Spring Boot笔记-IDEA使用JPA映射时解决cannot resolve column或cannot resolve table

默认情况下看IDEA的左边:

Spring Boot笔记-IDEA使用JPA映射时解决cannot resolve column或cannot resolve table

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

进入View->Tool Windows->Persistence

Spring Boot笔记-IDEA使用JPA映射时解决cannot resolve column或cannot resolve table

随后点击Assign Data Sources...

Spring Boot笔记-IDEA使用JPA映射时解决cannot resolve column或cannot resolve table

选择一个即可,就不会报错了!!!嘤嘤嘤(这个是突然间想起来乔碧萝殿下才打的)

Spring Boot笔记-IDEA使用JPA映射时解决cannot resolve column或cannot resolve table

相关文章:

  • 2021-06-21
  • 2021-10-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-30
  • 2021-06-05
猜你喜欢
  • 2021-08-10
  • 2021-04-19
  • 2021-11-23
  • 2021-09-08
  • 2022-01-20
  • 2022-01-04
相关资源
相似解决方案