Hi,
I'm using FCKeditor with java and I'm having problems binding SLF4J. When I bind SLF4J with log4j using slf4j-log4j12-1.5.8.jar, it doesn't work at all. I have the following error "java.lang.IllegalAccessError at org.slf4j.LoggerFactory"
But when I bind with slf4j-simple-1.5.2.jar, it works great !
(I did be carefull to put only one binding file)
do you have any ideas ?
thx
I'm using FCKeditor with java and I'm having problems binding SLF4J. When I bind SLF4J with log4j using slf4j-log4j12-1.5.8.jar, it doesn't work at all. I have the following error "java.lang.IllegalAccessError at org.slf4j.LoggerFactory"
But when I bind with slf4j-simple-1.5.2.jar, it works great !
(I did be carefull to put only one binding file)
do you have any ideas ?
thx
Re: problem with slf4j-log4j12-1.5.8.jar
Stupid question: Did you put the log4j jar in your classpath?
Please check this and that. They may resolve the issue.
Re: problem with slf4j-log4j12-1.5.8.jar
My output:
No errors, works as expected. I did not configure log4j though.
You might want consider migrating to logback, it is a more robust logging system written by the same person as log4j.