Hi Gradle Forum,
My issue is that i am new to gradle and am trying to install and run gradle 2.4
When i run gradle command through the command line i get the following error and i do not know what to do.
Please help me
The exeptionis as below:
FAILURE: Build failed with an exception.
What went wrong:
org.slf4j.impl.JDK14LoggerFactory cannot be cast to org.gradle.logging.internal.slf4j.OutputEventListenerBackedLoggerContext
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Next time you ask a question, try to write a more appropriate subject line, and make sure it’s in the right category. This question has nothing to do with Buildship.
Hi, Sorry for that, am a newbie to gradle,next i do better.An No i do not have slf in my JAVA_HOME/lib/ext directory,i do not even have /ext directory.and am using Windows 8.platfom.
Changing the category for the post takes a a few click only, so no harm was done
One quick suggestion: if you are new to Gradle, can you try using the latest 2.7 release?
Thanks a lot guys for your help, i was able to search for slf4j-api-1.5.6 and found it in Java/lib/ext/.I deleted it and finally everything worked alright i was able to run my first successful gradle command…