由于 'WARN No appenders could be found for logger',无法 运行 我的程序
Unable to run my program due to a 'WARN No appenders could be found for logger'
我无法 run/debug 我的程序。这是我收到的错误消息:
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/C:/work/dev/workspaces/eclipse-kepler-websphere-workspace-WS1/smartcontestation-batch/lib/slf4j-log4j12-1.5.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/work/dev/workspaces/eclipse-kepler-websphere-workspace-WS1/smartcontestation-project/shared-lib/ear/lib/slf4j-log4j12-1.5.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/Program%20Files%20(x86)/RSA/8.5/WASD8/plugins/com.ibm.ws.prereq.jaxrs.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
log4j:WARN No appenders could be found for logger (org.springframework.context.support.ClassPathXmlApplicationContext).
log4j:WARN Please initialize the log4j system properly.
我找到了解决方案:我从 'C:\Program Files (x86)\RSA.5\WAS8\profiles\AppSrv01\logs' 中删除了一些日志文件并清理了 eclipse。它在 !
之后重新工作
我无法 run/debug 我的程序。这是我收到的错误消息:
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/C:/work/dev/workspaces/eclipse-kepler-websphere-workspace-WS1/smartcontestation-batch/lib/slf4j-log4j12-1.5.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/work/dev/workspaces/eclipse-kepler-websphere-workspace-WS1/smartcontestation-project/shared-lib/ear/lib/slf4j-log4j12-1.5.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/Program%20Files%20(x86)/RSA/8.5/WASD8/plugins/com.ibm.ws.prereq.jaxrs.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
log4j:WARN No appenders could be found for logger (org.springframework.context.support.ClassPathXmlApplicationContext).
log4j:WARN Please initialize the log4j system properly.
我找到了解决方案:我从 'C:\Program Files (x86)\RSA.5\WAS8\profiles\AppSrv01\logs' 中删除了一些日志文件并清理了 eclipse。它在 !
之后重新工作