Hibernate: Unable to load class declared in Hibernate configuration entry

后端 未结 10 1494
野趣味
野趣味 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:04

    My mistake was a camel case problem. I had an embedded entity "IndexPK" and wrote "IndexPk" in the mapping file. I compared it ~20 times.... till I figured this out.

提交回复
热议问题