首页 > Web开发 > 详细

问题Initial SessionFactory creation failed.org.hibernate.HibernateException: /hibernate.cfg.xml not found解决方法

时间:2015-11-16 10:49:18      阅读:368      评论:0      收藏:0      [点我收藏+]

问题Initial SessionFactory creation failed.org.hibernate.HibernateException: /hibernate.cfg.xml not found解决方法

 

http://stackoverflow.com/questions/15258594/hibernate-exception-hibernate-cfg-xml-not-found
这个提示很明显是资源文件没配置对,所以在运行时找不到,那么怎么配置才对呢?

网上找到一个方法:

http://m.blog.csdn.net/blog/kklt21cn/24105687

但是个人觉得不是太好。。。

寻找理好的方法中。。。

问题Initial SessionFactory creation failed.org.hibernate.HibernateException: /hibernate.cfg.xml not found解决方法

原文:http://www.cnblogs.com/mxm2005/p/4968193.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!