深蓝--混沌
2017-09-12 12:16myeclipse出现buildSessionFactory(serviceregistry)错误
SessionFactory sessionFactory= cfg.buildSessionFactory(serviceRegistry);
中出现下面的错误
The method buildSessionFactory() in the type Configuration is not applicable for the arguments (ServiceRegistry)
Myeclipse 出现这个错误是什么原因啊?怎么解决
- 点赞
- 回答
- 收藏
- 复制链接分享
1条回答
为你推荐
- SSH框架Hibernate基于Spring自动生成的DAO怎样使用
- hibernate
- 框架
- spring
- 空指针异常
- ssh
- 2个回答
- hibernate 配置文件报错
- 数据库
- hibernate
- 编码
- 2个回答