-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.lang.NoClassDefFoundError: org/jetbrains/kotlin/mainKts/MainKtsScript #290
Comments
|
I've tried and it seems to work as intended
Could you check/provide the version of java and kotlin? |
Java version:
Kotlin versoin:
|
That's odd. Your settings seem to be identical to my setup and it works for me (see above). To trace down the root cause of the problem, could you
|
I've moved to kotlin script, it works well. https://gist.github.com/johnsonlee/154671b11f7e8c068aa6966ac72aeb7f |
Hmm, it works for me, and you have found another solution. So I think can solve the ticket then. Also, the new version v3 of kscript may solve the problem on your end as well. Feel welcome to reopen the ticket if needed. |
I've bumped into the same issue. This looks related to the file extension. I'm guessing kotlin/kotlinc do some specific handling for files ending with There is now a |
Without howtorun it is indeed hard to handle. |
I'm currently encountering this same issue when I do "kscript --idea myscript.main.kts". Intellij shows this error. Anyone knows how to fix this error in the IDE? |
ddms.main.kts
The text was updated successfully, but these errors were encountered: