Search code examples
spring-bootentity

Springbooot entities share the same JPA entity name: which is not allowed


I got this error:

Caused by: org.hibernate.DuplicateMappingException: The [com.KRON.ReportPortal.Model.RPT_BILANCA.Dohvati_BilancaPoOperatorima2] and [com.KRON.ReportPortal.Model.RPT_REPORT_PORTAL.Dohvati_BilancaPoOperatorima2] entities share the same JPA entity name: [Dohvati_BilancaPoOperatorima2] which is not allowed!

when I try to deploye springboot application.

But I dont have model Dohvati_BilancaPoOperatorima2 in my project. Springboot Model structure

Any help please?


Solution

  • I solved the problem by deleting project and cloning it again.