`
hngmduyi
  • 浏览: 335777 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

Caused by: org.hibernate.MappingException: entity class not found

阅读更多
Caused by: org.hibernate.MappingException: entity class not found: Role
	at org.hibernate.mapping.PersistentClass.getMappedClass(PersistentClass.java:99)
	at org.hibernate.tuple.PropertyFactory.getGetter(PropertyFactory.java:166)
	at org.hibernate.tuple.PropertyFactory.buildIdentifierProperty

(PropertyFactory.java:44)
	at org.hibernate.tuple.EntityMetamodel.<init>(EntityMetamodel.java:115)

解决办法:
 <class name="com.all.entity.system.Role" table="ROLE" schema="dbo" catalog="demosdb">
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics