Any idea, how to troubleshoot: ```Error: Could not...
# gradle
t
Any idea, how to troubleshoot:
Copy code
Error: Could not find or load main class org.jetbrains.kotlin.cli.jvm.K2JVMCompiler
Caused by: java.lang.ClassNotFoundException: org.jetbrains.kotlin.cli.jvm.K2JVMCompiler
1.5.21 gradle plugin, tried different SDKs, upgrading plugin to 1.5.30-M1, downgrading to 1.5.20, 1.5.10. Cleaning project, removing whole $HOME/.gradle directory. This error relates to submodule of multi-project project. Modules use either jvm or mpp plugin. Thread in Slack Conversation
t
which Gradle version have you tried?
is it possible to share project?
t
@tapchicoma Gradle versions: 7.1.1, 7.1, 7.0, 6.9 I migrated project from gradle 6.6, kotlin 1.4.* and from spring dependency management plugin to gradle dependency constraints (had and still have some other issues with dependencies, when I try to sync project in IntelliJ, but first I want to try to make it work from command line)
I am also using spring-boot plugin, just updated to latest version.
t
is it possible to share Gradle build scan?
t
Build scan PMed. Tomorrow I may try to reproduce the issue on small project.