Search code examples
spring-bootintellij-idea

Cannot resolve table "'xx"" in spring boot application


I'm trying to run a spring boot app, but intellij is showing me an error:

"Cannot resolve table TB_PRODUTO"

Intellij it's giving a tip to assign a datasource, but the list is empty

enter image description here

what could be the problem?


Solution

  • Try add your database to IDE:

    enter image description here

    Then assign it as data source:

    enter image description here