build failure due toorg.slf4j.impl.SimpleLoggerFactory cannot be cast to ch.qos.logback.classic.LoggerContext

I am very new to gradle and want to try out with it.

I am not sure what I should do as if I know nothing. I just used the latest version of binaries gradle 1.12. After I downloaded the zip file, extract to a directory, and established in Windows setting environment.

I typed gradle -v to check if this is installed properly but I am getting this message. I looked for any document related to this but I could not find. Maybe I need a step by step other than what I did.


Disregard this message; After digging around, I found there were some slf4j* files in $JAVA-HOME/lib/ext. I deleted these files and it works well.

I hope this helps you if you are having the same problem.