`

hibernate错误:Could not parse configuration: /hibernate.cfg.xml

 
阅读更多

hibernate错误:Could not parse configuration: /hibernate.cfg.xml

 

知道是配置文件的问题,仔细重新比照检查,发现

<mapping resource="com/bjsxt/hibernate/User.hbm.xml"/>

中少了个“/”

 

其他出现此错误也应是此配置文件hibernate.cfg.xml出错。

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics