``` java.lang.reflect.InvocationTargetException a...
# ktor
j
Copy code
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
	at java.lang.Thread.run(Thread.java:748)
Caused by: com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'ktor'
	at com.typesafe.config.impl.SimpleConfig.findKeyOrNull(SimpleConfig.java:152)
	at com.typesafe.config.impl.SimpleConfig.findOrNull(SimpleConfig.java:170)
	at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:184)
	at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:189)
	at com.typesafe.config.impl.SimpleConfig.getObject(SimpleConfig.java:264)
	at com.typesafe.config.impl.SimpleConfig.getObject(SimpleConfig.java:37)
	at org.jetbrains.ktor.host.CommandLineKt$commandLineEnvironment$environment$1.invoke(CommandLine.kt:39)
	at org.jetbrains.ktor.host.CommandLineKt$commandLineEnvironment$environment$1.invoke(CommandLine.kt)
	at org.jetbrains.ktor.host.ApplicationHostEnvironmentBuilder.build(ApplicationHostEnvironment.kt:55)
	at org.jetbrains.ktor.host.ApplicationHostEnvironmentKt.applicationHostEnvironment(ApplicationHostEnvironment.kt:38)
	at org.jetbrains.ktor.host.CommandLineKt.commandLineEnvironment(CommandLine.kt:32)
	at org.jetbrains.ktor.jetty.DevelopmentHost.main(CommandLine.kt:8)
	... 6 more
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.327 s
[INFO] Finished at: 2017-06-16T00:23:46-03:00
[INFO] Final Memory: 12M/155M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:java (default-cli) on project ktor-samples-embedded: An exception occured while executing the Java class. null: InvocationTargetException: No configuration setting found for key 'ktor' -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.