OpenSource/log4j&slf4j(10)
-
slf4j log 안나오는 현상 + Jboss
문제 : SQL문이 나오지 않는 현상이 발생했다. 아래의 오류를 통해서 수정하여 SQL구문이 나오게끔 했는데 2013/07/12 - [OpenSource/log4j&slf4j] - SLF4J: Failed to load class org.slf4j.impl.StaticLoggerBinder default 에서는 위의 방법으로 SQL구문 로깅 되도록 처리를 했지만 cluster를 위해 all 에 적용을 하니..SQL구문이 나오지 않았다..-_-;;;; 환경 : JBoss eap 5.1 jdk 6.0 windows 7 참고 사이트 : https://community.jboss.org/thread/157454?start=0&tstart=0&_sscc=t 해결방법은 아래와 같다. C:\jboss-eap-5.1\..
2013.10.10 -
Error installing to Start: name=jboss:service=CorbaORB state=Create mode=Manual requiredState=Installed java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
오류 내역 09:28:26,333 ERROR [AbstractKernelController] Error installing to Start: name=jboss:service=CorbaORB state=Create mode=Manual requiredState=Installed java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory 해결방법 slf4j-api-1.6.6.jar 를 포함시켜 주면 된다. 어디다가??? jboss쪽에~ lib 밑에 넣어주면 된다. ex) C:\Middleware\jboss-eap-5.1\jboss-as\server\블라블라\lib 참고 사이트 : http://stackoverflow.com/questions/12926899/java..
2013.10.08 -
package org.apache.log4j does not exist
오류 내역 : JUnit compile 시 package org.apache.log4j does not exist 라는 오류가 났다. 해결 방법 : Change the scope of the log4j dependency to compile or remove it. scope를 compile 또는 주석처리 해주면 된다. log4j log4j 1.2.16 javax.mail mail javax.jms jms com.sun.jdmk jmxtools com.sun.jmx jmxri 참고 사이트 : http://stackoverflow.com/questions/8667640/maven-compilation-error-log4j - 끝 -
2013.10.08 -
SLF4J: Failed to load class org.slf4j.impl.StaticLoggerBinder
ERROR [STDERR] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". ERROR [STDERR] SLF4J: Defaulting to no-operation (NOP) logger implementation ERROR [STDERR] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. 라는 오류가 났다..... 환경 : maven 프로젝트 jboss는 jboss5.1 eap log4j+slf4j 를 사용하는 내부..log툴 사용..--;; log4j를 사용한다고 보면 된다.^-^ [as-is 설정] jcl-over-slf4j slf4j-..
2013.07.12