用自带的jetty启动后,出现Class path contains multiple SLF4J bindings.

雨夜23 发布于 2013/12/24 10:41
阅读 2K+
收藏 0

@李小热 你好,想跟你请教个问题:

用自带的jetty启动后,出现如下错误,将这三个冲突的包,逐个替换删除,还是不能解决。新手,望给予解答。

Starting JFinal 1.5
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/D:/workspace/wms/WebRoot/WEB-INF/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/D:/workspace/wms/WebRoot/WEB-INF/lib/slf4j-simple-1.5.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
Starting scanner at interval of 5 seconds.
Starting web server on port: 8080
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/D:/workspace/wms/WebRoot/WEB-INF/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/D:/workspace/wms/WebRoot/WEB-INF/lib/slf4j-simple-1.5.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/D:/workspace/wms/WebRoot/WEB-INF/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/D:/workspace/wms/WebRoot/WEB-INF/lib/slf4j-simple-1.5.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
Starting Complete. Welcome To The JFinal World :)

加载中
0
酋长思密达
酋长思密达
这不是错误,是警告,系统能进去就忽略吧
0
雨夜23

引用来自“李小热”的答案

这不是错误,是警告,系统能进去就忽略吧
感谢回答,正在学习,实现很专业。源码中的htmlcontroller和htmlhandler的作用是什么?期待role和permission部分的实现。
酋长思密达
酋长思密达
html******用于实现无controller直接访问html的功能,此。html是freemarker模板,可获取web相关参数,比如contextPath等。最近工作有点忙,后续功能会持续提交
返回顶部
顶部