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