Hibernate: Unable to load class declared in Hibernate configuration entry

后端 未结 10 1487
野趣味
野趣味 2021-01-21 01:03

I am completely new in Hibernate and got such an stacktrace:

hql> from TracksEntity 
[2014-04-26 21:13:45] org.hibernate.MappingException: Unable to load clas         


        
10条回答
  •  遇见更好的自我
    2021-01-21 01:10

    Sounds quite silly but i was putting my entity Class in a package which is not the same i put in the mapping.. and hibernate of course could not find it... just for reference.. maybe a recheck can solve your problem best regards.

提交回复
热议问题