Hi devs, When I wrote a test class for Generic Face Recognition I got the following Exception in runtime, *Exception in thread "main" java.lang.IllegalAccessError: tried to access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactory*
This is because, the slf4j-api distribution having different implementations of StaticLoggerBinder to one in the slf4j implementation JARs. So to skip this and gt this done, we need to include the slfj4 -api dependency as well. And also I saw in a forum saying this doesn't work for versions below 1.5.5 or 6. So I tried by having dependencies of the version 1.5.8 in both api and impl of slf4j (having priority to the API ) and it worked, but didn't worked for 1.5.3 (which we currently have) and trunk also builds with the new pom. <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.5.8</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <version>1.5.8</version> </dependency> So Shall we go ahead with 1.5.8 ? WDYT ? -- Subash Chaturanga Department of Computer Science & Engineering University of Moratuwa Sri Lanka Blog - http://subashsdm.blogspot.com/ Twitter - http://twitter.com/subash89