Do you also have one of the commons-logging.jar files in your lib directory? That will definitely clash with jcl-over-slf4j (*Chris*)
On Fri, May 23, 2014 at 2:50 AM, lee json <[email protected]> wrote: > I understand this might not logback's issue, but I would like to > collect more information so hope to fix my problem. > > Basically there is no problem to execute unit tests if I removed all > logback related dependency. I am just wondering what inside > jcl-over-slf4j may collide against dependencies in my project. > > I notice that when I add jcl-over-slf4j as dependency > > <dependency> > <groupId>org.slf4j</groupId> > <artifactId>jcl-over-slf4j</artifactId> > <version>1.7.5</version> > </dependency> > > this leads to my test case not being executed with maven result > printed "no tests were executed!". My scala test version is 2.10 > > <dependency> > <groupId>org.scalatest</groupId> > <artifactId>scalatest_2.10</artifactId> > <version>2.0</version> > <scope>test</scope> > </dependency> > > and junit version is 4.8.1 > > <dependency> > <groupId>junit</groupId> > <artifactId>junit</artifactId> > <version>4.8.1</version> > </dependency> > > If I comment out jcl-over-slf4j, maven reports "there are tests failure" > > Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.6:test (default-test) > ...: There are test failures > > Please refer to.../target/surefire-reports for the individual test results. > > But surefire-reports folder actually is not created > > $ ls target/surefire-reports > ls: cannot access target/surefire-reports: No such file or directory > > Environment I use > Maven version is 3.0.5 > Java version 1.6.x > > I appreciate any suggestions. > Thanks > _______________________________________________ > Logback-user mailing list > [email protected] > http://mailman.qos.ch/mailman/listinfo/logback-user >
_______________________________________________ Logback-user mailing list [email protected] http://mailman.qos.ch/mailman/listinfo/logback-user
