首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web开发 >

spring与hibernate调整的时候

2013-04-20 
spring与hibernate整合的时候控制台报出:SLF4J: This version of SLF4J requires log4j version 1.2.12 or

spring与hibernate整合的时候
控制台报出:SLF4J: This version of SLF4J requires log4j version 1.2.12 or later. See also http://www.slf4j.org/codes.html#log4j_version
我在网上查了下使用log4j-1.2.15.jar下载就可,自己试了一下,还是报错?怎么办,求解答
spring hibernate log4j
[解决办法]
在你下的SLF4j包里找到
slf4j-api-1.6.1.jar
slf4j-log4j12-1.6.1.jar导入
在src下加个log4j.properties

热点排行