SessionFactory sessionFactory= cfg.buildSessionFactory(serviceRegistry);中出现下面的错误The method buildSessionFactory() in the type Configuration is not applicable for the arguments (ServiceRegistry)Myeclipse 出现这个错误是什么原因啊?怎么解决
http://blog.csdn.net/yuliangsheng/article/details/8688904