当我尝试运行Hibernate时,我在控制台中收到以下消息.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Run Code Online (Sandbox Code Playgroud)
但是冬眠很好.我的项目有什么问题吗?我使用Eclipse(Helios),Hibernate 3.6.8.我使用这些jar文件:antlr-2.7.6,commons-collections-3.1,dom4j-1.6.1,hibernate3,hibernate-jpa-2.0-api-1.0.1.Final,javassist-3.12.0.GA,jta- 1.1,slf4j-api-1.6.1
mic*_*fra 15
此错误表示在类路径上找不到适当的SLF4J绑定.在类路径上放置一个(并且只有一个)slf4j-nop.jar,slf4j-simple.jar,slf4j-log4j12.jar,slf4j-jdk14.jar或logback-classic.jar应该可以解决问题.
见http://www.slf4j.org/index.html
| 归档时间: |
|
| 查看次数: |
25794 次 |
| 最近记录: |