yes, you don't have Gson on the runtime classpath. This has nothing to do with IntelliJ kotlin support though, please use #random for unrelated topics. For this specific problem you have, either run with mvn run, or specify runtime classpath, or build fat jar.