org.hibernate.MappingException: entity class not found

今天使用hibernate的時候出現org.hibernate.MappingException: entity class not found的異常。

主要原因是使用myeclipse的hibernate翻轉引擎時自動生成的映射文件中的class的路徑不是絕對路徑,因此報錯。

https://blog.csdn.net/xsl1990/article/details/23600841

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章