SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [zip:E:/newbea/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/_appsdir_CTS_dir/6ctkfx/war/WEB-INF/lib/slf4j-log4j12-1.5.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [zip:E:/newbea/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/_appsdir_CTS_dir/6ctkfx/war/WEB-INF/lib/slf4j-log4j12-1.5.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
我的Jar文件用了:slf4j-log4j12-1.5.8.jar,slf4j-api-1.5.8.jar,log4j-1.2.15.jar等jar文件,请指点一下!!!
SLF4J: Found binding in [zip:E:/newbea/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/_appsdir_CTS_dir/6ctkfx/war/WEB-INF/lib/slf4j-log4j12-1.5.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [zip:E:/newbea/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/_appsdir_CTS_dir/6ctkfx/war/WEB-INF/lib/slf4j-log4j12-1.5.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
我的Jar文件用了:slf4j-log4j12-1.5.8.jar,slf4j-api-1.5.8.jar,log4j-1.2.15.jar等jar文件,请指点一下!!!
解决方案 »
- java默认的字符编码是unicode吗?怎样把utf-8编码转为unicode编码?
- 初学工作流,最好学什么
- 怎样在结合jstl在EL表达式里调用类的方法?或者给个帮助文档也行,谢谢!
- js 网页不可编辑
- 自定义的java软件包放在哪里啊?
- 在工作中实施struts,hibernate,spring,jsf,webwork,tapstry等架构中的一个或多个,请加入我的群
- 高分求助:struts1.1下怎么在struts-config.xml里配置datasource啊
- 又急,又迷惑!!!关于EJB服务端的理解!!!!!!,
- 处女贴:JSP能发送xmlHTTP请求吗?怎么发送?
- springmvc+spring+mybatis基础框架搭建
- Harvest问题,请教高人指点
- Java ResultSet 某些列没有返回值?
private static String STATIC_LOGGER_BINDER_PATH = "org/slf4j/impl/StaticLoggerBinder.class"; private static void singleImplementationSanityCheck() {
try {
Enumeration paths = LoggerFactory.class.getClassLoader().getResources(
STATIC_LOGGER_BINDER_PATH);
List implementationList = new ArrayList();
while (paths.hasMoreElements()) {
URL path = (URL) paths.nextElement();
implementationList.add(path);
}
if (implementationList.size() > 1) {
Util
.reportFailure("Class path contains multiple SLF4J bindings.");
......看到了吧,意思是说找到了多个org/slf4j/impl/StaticLoggerBinder.class,检查包重复问题吧
大家指点下具体问题!!!!
http://news.gmane.org/gmane.comp.java.slf4j.devel