Spring整合Hibernate时出错,求高手帮忙!
出现的错误:Error creating bean with name 'sessionFactory' defined in class path resource [beans.xml]: Instantiation of bean failed;
nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.orm.hibernate3.LocalSessionFactoryBean]: Constructor threw exception; nested exception is
java.lang.NoSuchMethodError:org.slf4j.impl.StaticLoggerBinder.getSingleton()Lorg/slf4j/impl/StaticLoggerBinder;
------解决方案--------------------把你的beans.xml放上来吧
------解决方案--------------------
把配置文件applicationContext-dao.xml 文件 出来,不然怎么解决?
------解决方案--------------------sessionFactory 配置有问题,不能够实例化