nested exception is java.lang.IllegalArgumentException: Not a managed type: class

前端 未结 1 1370
孤城傲影
孤城傲影 2020-12-20 16:03

I am trying to deploy a Spring-Boot application with Service accessing a JpaRepository which is connecting to PostgreSQL DB

相关标签:
1条回答
  • 2020-12-20 16:16

    Spring is not aware of your entity. You need to denote MySpringBootApplication class with @EntityScan("your.entities.package")

    0 讨论(0)
提交回复
热议问题