org.springframework.orm.hibernate3.HibernateSystemException: Unknown entity: com.xuguang.u8.inventory.bean.Inventory; nested exception is org.hibernate.MappingException: Unknown entity: com.xuguang.u8.inventory.bean.Inventory
原因是没有将Inventory配置文件Inventory.hbm.xml加到mappingResources中
原因是没有将Inventory配置文件Inventory.hbm.xml加到mappingResources中
本文解析了org.springframework.orm.hibernate3.HibernateSystemException异常的原因及解决方法,主要针对未知实体问题,指出未将Inventory配置文件添加到mappingResources中导致的问题。
671

被折叠的 条评论
为什么被折叠?



