JFinal提供的三个jar包:
我的项目中所有的jar包:
引入slf4j的jar包以后,抛出异常:
Starting JFinal 2.2 Starting scanner at interval of 5 seconds. Starting web server on port: 80 SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/D:/Workspaces/MyEclipse%2010/API/WebRoot/WEB-INF/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/D:/Workspaces/MyEclipse%2010/API/WebRoot/WEB-INF/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. 2017-01-18 08:41:53 [WARN]-[Thread: main]-[net.sf.ehcache.config.ConfigurationFactory.parseConfiguration()]: No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/D:/Workspaces/MyEclipse%2010/API/WebRoot/WEB-INF/lib/ehcache-core-2.5.2.jar!/ehcache-failsafe.xml Starting Complete. Welcome To The JFinal World :)
项目:JFinal
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/D:/Workspaces/MyEclipse%2010/API/WebRoot/WEB-INF/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/D:/Workspaces/MyEclipse%2010/API/WebRoot/WEB-INF/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
2017-01-18 08:41:53
[WARN]-[Thread: main]-[net.sf.ehcache.config.ConfigurationFactory.parseConfiguration()]: No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/D:/Workspaces/MyEclipse%2010/API/WebRoot/WEB-INF/lib/ehcache-core-2.5.2.jar!/ehcache-failsafe.xml