org.hibernate.MappingException: Unknown entity: com.hibernate.submission.Student

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by csckid, 1 year ago
Unknown entity: com.hibernate.submission.Student
via gilead by grishag
, 1 year ago
Unknown entity: null
via Oracle Community by 834307, 1 year ago
Unknown entity: com.jaspersoft.jasperserver.api.metadata.user.domain.impl.hibermate.RepoRole
via Coderanch by Prashant kr Sinha, 11 months ago
Unknown entity: com.hibernate.User
via hibernate.org by Unknown author, 1 year ago
org.hibernate.MappingException: Unknown entity: com.hibernate.submission.Student
at org.hibernate.impl.SessionFactoryImpl.getEntityPersister(SessionFactoryImpl.java:628)
at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:91)
at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:906)
at org.hibernate.impl.SessionImpl.load(SessionImpl.java:823)
at org.hibernate.impl.SessionImpl.load(SessionImpl.java:816)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at undefined.$Proxy9.load(Unknown Source)
at com.hibernate.submission.TestCollege.deleteStudent(TestCollege.java:70)
at com.hibernate.submission.TestCollege.design(TestCollege.java:63)
at com.hibernate.submission.TestCollege.main(TestCollege.java:57)

Users with the same issue

Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.