Newbie help required: I've been working with Spri...
# kvision
a
Newbie help required: I've been working with SpringBoot and Kotlin for about 3 years now, so am fairly familiar with that combination, but only just today discovered KVision. I wanted to give it a try and downloaded the "full-stack" example. It builds properly (well, with some warnings) using
gradle build
but fails to build with an error in the JetBrains IDE. I'm using Java 8, Gradle 6.6, Kotlin 1.4.0 (and have tried to downgrade to Kotlin plugin 1.3.72 in the IDE with same results). The error is :
Copy code
Executing pre-compile tasks...
Loading Ant Configuration...
Running Ant Tasks...
Running 'before' tasks
Checking sources
Kotlin: connecting to daemon
Kotlin: compiling [kvision-realworld-example-app-fullstack.frontendMain]
Kotlin: kotlinc-js 1.3.72 (JRE 1.8.0_265-b01)
Kotlin: [Internal Error] java.lang.IllegalStateException: The provided plugin pl.treksoft.kvision.plugin.CommonComponentRegistrar is not compatible with this version of compiler
	at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$Companion.registerExtensionsFromPlugins$cli(KotlinCoreEnvironment.kt:577)
	at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$ProjectEnvironment.registerExtensionsFromPlugins(KotlinCoreEnvironment.kt:135)
	at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment.<init>(KotlinCoreEnvironment.kt:175)
	at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment.<init>(KotlinCoreEnvironment.kt:115)
	at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$Companion.createForProduction(KotlinCoreEnvironment.kt:427)
	at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment.createForProduction(KotlinCoreEnvironment.kt)
	at org.jetbrains.kotlin.cli.js.K2JSCompiler.doExecute(K2JSCompiler.java:218)
more...<redacted>