Caused by: java.lang.NoSuchMethodError: org.slf4j.impl.StaticLoggerBinder.getSingleton()Lorg/slf4j/i

Caused by: java.lang.NoSuchMethodError: org.slf4j.impl.StaticLoggerBinder.getSingleton()Lorg/slf4j/impl/StaticLoggerBinder;

需要为hibernate添加slf4j-nop日志系统依赖:

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-nop</artifactId>
<version>1.6.3</version>
</dependency>

posted @ 2015-02-17 13:06  xiluhua  阅读(2588)  评论(0编辑  收藏  举报