问题与slf4j在thymeleaf上

时间:2016-02-02 00:13:10

标签: slf4j thymeleaf

尝试在必须使用slf4j 1.5.10的Web服务器上使用thymeleaf 2.1.3.RELEASE和3.0.0.BETA01,我收到错误

SLF4J: The requested version 1.6.99 by your slf4j binding is not compatible with [1.5.5, 1.5.6, 1.5.7, 1.5.8, 1.5.9, 1.5.10

我们可以强迫百里香使用slf4j 1.5.10?

1 个答案:

答案 0 :(得分:0)

用更高版本替换slf4j-api-1.5.x.jar,比如slf4j-api-1.7.x.jar应该可以解决问题。假设您正在使用Maven,您可以为项目发布mvn dependency:tree命令的输出吗?