`error: unable to instantiate class Gradlekotlinconverter`
See original GitHub issueHi tried to use the tool but after download and run the command ./gradlekotlinconverter.kts build.gradle
i got the error:
error: unable to instantiate class Gradlekotlinconverter (gradlekotlinconverter.kts): java.lang.NoClassDefFoundError: kotlin/script/templates/standard/ScriptTemplateWithArgs
Any suggestion to resolve it? thanks!
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Kotlin script unable to instantiate class - Stack Overflow
Attempt at Kotlin Cookbook by Ken Kousen -- 1.5 Executing a Kotlin Script produces 'unable to instantiate class' error.
Read more >Installation problem · Issue #15 · kscripting/kscript - GitHub
I'm getting the same error on Linux: ... error: unable to instantiate class Gradlekotlinconverter bernaferrari/GradleKotlinConverter#11.
Read more >How To Fix "Failed To Instantiate one or more classes" Error In ...
In this video I will tell you how to fix error in android studio 3.1.3 -"" Failed To Instantiate one or more classes...
Read more >java.lang.RuntimeException: Unable to instantiate application ...
Android : java.lang.RuntimeException: Unable to instantiate application : ClassNotFoundException (Only on X86 architecture device) ...
Read more >[ SOLVED ] * What went wrong:Could not initialize class org ...
FAILURE : Build failed with an exception. * What went wrong: Could not initialize class org.codehaus.groovy.runtime.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@victory1908 try to install
kscript
and runkscript gradlekotlinconverter.kts build.gradle
It seems this was fixed in one of recent Kotlin releases. Closing.