Итак, я получил сообщение об ошибке в этом сообщении. Я попытался обновить gradle и получил еще одну ошибку, связанную с использованием неподдерживаемой версии gradle, поэтому я вернулся к версии 4.4.2.
Теперь я знаю, что это дубликат другого вопроса, но проблема все еще существует и не была решена для более новых версий gradle и idea. Также Я не хочу использовать оболочку .
Ошибка, которую я получаю:
Unable to load class 'org.slf4j.LoggerFactory'.
Possible causes for this unexpected error include:<ul><li>Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
Re-download dependencies and sync project (requires network)</li><li>The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
Stop Gradle build processes (requires restart)</li><li>Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.</li></ul>In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.
Версия Gradle: 4.4.2
Версия IntelliJ IDEA: 2018.3.5
Вы можете найти тестовый проект здесь , чтобы воспроизвести проблему. Имейте в виду вышеприведенные версии.