已采纳回答 / God丶V
                                
                                                            那个方法过期了,现在用这样的方式去创建StandardServiceRegistry standardRegistry = new StandardServiceRegistryBuilder()			      .configure()			      .build();				Metadata metadata = new MetadataSources(standardRegistry).getMetadataBuilder()				.applyImplicitNamingStrategy(Imp...
                            
                        
                        2016-04-22
                
            
                                已采纳回答 / Hyazinthen
                                
                                                            Configuration config = new Configuration().configure().addClass(Students.class);在config()后面加一个addClass(Students.class)5.1.0版的hibernate直接配置hbm.xml就不能识别,我也有这个问题
                            
                        
                        2016-04-22
                
            找不到文件,看看你们的路径写的对不对。	<mapping resource="com/entity/Students.hbm.xml"/>
                
                    
                    2016-04-22
                
            org.hibernate.MappingNotFoundException: resource: Studens.hbm.xml not found 这个问题怎么解决?Studens.hbm.xml文件确实存在,为什么找不到?都是跟着老师的步骤来的。
                
                    
                    2016-04-21
                
             
             
        











