hibernate sjf4j的使用

我在类库中引入了这三个jar 为什么还是不能查看日志。会出以下错误

网上说这种提示是因为没有匹配上日志框架,可是这是为什么呢。会不会有版本兼容的问题
hibernate
slf4j?
log4j
------解决方案--------------------warn 写的挺清楚啊
让你初始化log4j的配置文件
所以你情况,要么是没配置文件
要么是配置文件放的路径不对,log4j没找到
------解决方案--------------------我也是这三个,是可以正常运行的,你是不是没在类路径下配log4j.properties.