org.hibernate.MappingException: Unknown entity:
使用hibernate时碰到了如下异常:
Exception in thread "main" org.hibernate.MappingException: Unknown entity: org.scott.entity.Dept
at org.hibernate.impl.SessionFactoryImpl.getEntityPersister(SessionFactoryImpl.j
原创
2016-11-30 09:06:19 ·
327 阅读 ·
0 评论