https://kotlinlang.org logo
#announcements
Title
# announcements
x

xenoterracide

07/16/2019, 9:38 PM
anyone seen this from idea?
Copy code
Exception in thread "main" java.lang.NoClassDefFoundError: kotlin/jvm/internal/Intrinsics
	at com.potreromed.ApplicationKt.main(Application.kt)
Caused by: java.lang.ClassNotFoundException: kotlin.jvm.internal.Intrinsics
	at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 1 more
I get it when trying to run a very simple application class...
Copy code
@SpringBootApplication
open class Application

fun main(args: Array<String>) {
    runApplication<Application>(*args)
}
k

karelpeeters

07/16/2019, 9:49 PM
There's a bunch of other questions about the same thing in this slack, but I think the problem is that you don't have the stdlib on the classpath.
👍 1