java.lang.IllegalStateException: error: source file or directory not found:


Solutions on the web1

Solution icon of github
error: source file or directory not found:

Stack trace

java.lang.IllegalStateException: error: source file or directory not found:
	at com.beust.kobalt.misc.NewRunCommand$Companion$DEFAULT_ERROR$1.invoke(NewRunCommand.kt:53)
	at com.beust.kobalt.misc.NewRunCommand$Companion$DEFAULT_ERROR$1.invoke(NewRunCommand.kt:46)
	at com.beust.kobalt.misc.NewRunCommand.invoke(NewRunCommand.kt:92)
	at com.beust.kobalt.plugin.kotlin.KotlinCompiler$compilerAction$1.invokeCompilerInSeparateProcess(KotlinCompiler.kt:114)
	at com.beust.kobalt.plugin.kotlin.KotlinCompiler$compilerAction$1.compile(KotlinCompiler.kt:82)
	at com.beust.kobalt.internal.JvmCompiler.doCompile(JvmCompiler.kt:37)
	at com.beust.kobalt.plugin.kotlin.KotlinCompiler.compile(KotlinCompiler.kt:285)
	at com.beust.kobalt.plugin.kotlin.KConfiguration.compile(KotlinCompiler.kt:308)
	at com.beust.kobalt.plugin.kotlin.KConfiguration.compile$default(KotlinCompiler.kt:307)
	at com.beust.kobalt.app.ParsedBuildFile.generateJarFile(ParsedBuildFile.kt:155)
	at com.beust.kobalt.app.ParsedBuildFile.initPluginUrls(ParsedBuildFile.kt:122)
	at com.beust.kobalt.app.ParsedBuildFile.<init>(ParsedBuildFile.kt:41)
	at com.beust.kobalt.app.BuildFileCompiler.parseBuildFile(BuildFileCompiler.kt:170)
	at com.beust.kobalt.app.BuildFileCompiler.findProjects(BuildFileCompiler.kt:83)
	at com.beust.kobalt.app.BuildFileCompiler.compileBuildFiles(BuildFileCompiler.kt:69)
	at com.beust.kobalt.app.ProjectFinder.initForBuildFile(ProjectFinder.kt:20)
	at com.beust.kobalt.Main.runWithArgs(Main.kt:180)
	at com.beust.kobalt.Main.run(Main.kt:118)
	at com.beust.kobalt.MainKt.mainNoExit(Main.kt:49)
	at com.beust.kobalt.MainKt.main(Main.kt:27)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.