'Failed to load class "org.slf4j.impl.StaticLoggerBinder" Grails - IntelliJUltimate

Build it via IntelliJ

enter image description here

I tried adding the dependencies slf4j-jdk12 and change the java versions!

i can start an application which i build via the CLI with no problem "grails run-app" but in IntelliJ it throws the same problem as here



Solution 1:[1]

Set Project SDk to compatible Java version. Try using 11 JDK for example: enter image description here

Verify that modules uses the same JDK: enter image description here

Also make sure Gradle JVM uses the same JDK: enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Andrey