You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Kotlin was updated from 1.2.41 to 1.2.50, the "lost" class was added.
xception in thread "main" java.lang.NoClassDefFoundError: org/jetbrains/kotlin/preprocessor/PreprocessorKt
at com.github.shyiko.ktlint.Main$loadReporter$2.invoke(Main.kt:396)
at com.github.shyiko.ktlint.Main.loadReporter(Main.kt:410)
at com.github.shyiko.ktlint.Main.main(Main.kt:262)
Caused by: java.lang.ClassNotFoundException: org.jetbrains.kotlin.preprocessor.PreprocessorKt
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 3 more
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':ktlintMainCheck'.
> Process 'command '/Users/victor.alenkov/.jvm/oracle-jdk-8u171/Home/bin/java'' finished with non-zero exit value 1
> Task :ktlintMainCheck FAILED
Exception in thread "main" java.lang.NoClassDefFoundError: org/jetbrains/kotlin/preprocessor/PreprocessorKt
at com.github.shyiko.ktlint.Main$loadReporter$2.invoke(Main.kt:396)
at com.github.shyiko.ktlint.Main.loadReporter(Main.kt:410)
at com.github.shyiko.ktlint.Main.main(Main.kt:262)
Caused by: java.lang.ClassNotFoundException: org.jetbrains.kotlin.preprocessor.PreprocessorKt
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 3 more
When Kotlin was updated from 1.2.41 to 1.2.50, the "lost" class was added.
Gradle command run:
check
gradle.properties
:build.gradle.kts
:The text was updated successfully, but these errors were encountered: