When I run any Gradle command, I get the following error:
ch.qos.logback.classic.LoggerContext cannot be cast to org.gradle.logging.internal.slf4j.OutputEventListenerBackedLoggerContext
This is Windows 10 and I am using the command prompt. I am not writing code that directly uses Gradle, but I need it to compile.
From what I can tell, this error means that Gradle is installing incorrect libraries which obviously causes class issues. However, I can’t even find logback-classic.jar anywhere in my gradle libs. Also, this error is brand-new - I was able to use Gradle just fine, and then I woke up yesterday and it was giving me this error. I tried wiping and reinstalling Gradle and using several different versions without success. My friend reports that he is still able to use Gradle normally. I also attempted a computer reboot, again without success.