INFO: HHH000041: Configured SessionFactory: nullException in thread "main" java.lang.NoSuchMethodError: org.hibernate.integrator.internal.IntegratorServiceImpl.<init>(Ljava/util/LinkedHashSet;Lorg/hibernate/boot/registry/classloading/spi/ClassLoaderService;)V at org.hibernate.boot.registry.BootstrapServiceRegistryBuilder.build(BootstrapServiceRegistryBuilder.java:215) at org.hibernate.boot.registry.StandardServiceRegistryBuilder.<init>(StandardServiceRegistryBuilder.java:71) at com.immoc.hibernateUtil.HibernateUntil.<clinit>(HibernateUntil.java:15) at com.immoc.Test.b.add(b.java:22) at com.immoc.Test.b.main(b.java:14)
1 回答
大LOVE辉
TA贡献5条经验 获得超1个赞
SessionFactory sessionFactory =new Configuration().configure().buildSessionFactory();
初始值赋值了吗
添加回答
举报
0/150
提交
取消