question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`error: unable to instantiate class Gradlekotlinconverter`

See original GitHub issue

Hi 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:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
n1k3ccommented, Oct 24, 2019

@victory1908 try to install kscript and run kscript gradlekotlinconverter.kts build.gradle

0reactions
bernaferraricommented, Mar 18, 2020

It seems this was fixed in one of recent Kotlin releases. Closing.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found