org.hibernate.MappingException: Unknown entity: com.mycompany.myproduct.data.models.Custtable

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    spring boot - how to avoid org.hibernate.MappingException Unknown entity?

    Stack Overflow | 7 months ago | Eugene Goldberg
    org.hibernate.MappingException: Unknown entity: com.mycompany.myproduct.data.models.Custtable

    Root Cause Analysis

    1. org.hibernate.MappingException

      Unknown entity: com.mycompany.myproduct.data.models.Custtable

      at org.hibernate.internal.SessionFactoryImpl.getEntityPersister()
    2. Hibernate
      SessionImpl.locateEntityPersister
      1. org.hibernate.internal.SessionFactoryImpl.getEntityPersister(SessionFactoryImpl.java:1096)
      2. org.hibernate.internal.SessionImpl.locateEntityPersister(SessionImpl.java:2565)
      2 frames