https://kotlinlang.org logo
Title
s

Stefano Longhi

06/24/2020, 4:35 PM
Hi all I have another problem with gradle.. If I run the project from Intellij all ran correctly, if I try to run it from the terminal using grandle run I receive this error:
[...]
Successfully started process 'command '/Library/Java/JavaVirtualMachines/jdk-14.0.1.jdk/Contents/Home/bin/java''
Error: Could not find or load main class abaddon83.tests.marvels.AppKt
Caused by: java.lang.ClassNotFoundException: abaddon83.tests.marvels.AppKt
:run (Thread[Execution worker for ':',5,main]) completed. Took 0.118 secs.
BuildUid: local

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':run'.
> Process 'command '/Library/Java/JavaVirtualMachines/jdk-14.0.1.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1
the classpath abaddon83.tests.marvels.AppKt is right 😞 any idea?
resolved.. there was a typo in the package… -_-'