Hello to all
I’m trying to use the KotlinJsr223JvmDaemonLocalEvalScriptEngineFactory in the SpringBot application.
When trying to execute a script, I get a
javax.script.ScriptException: Unable to connect to repl server:
DEBUG starting the daemon as: C: \ Program Files \ Java \ jre1.8.0_172 \ bin \ java -cp C: \ Users \ user \ projects \ lkb \ lkb \ target \ kotlin-compiler-1.3.10.jar -Djava .awt.headless = true -Djava.rmi.server.hostname = 127.0.0.1 org.jetbrains.kotlin.daemon.KotlinCompileDaemon --daemon-r
unFilesPath C: \ Users \ user \ AppData \ Local \ kotlin \ daemon --daemon-autoshutdownIdleSeconds = 7200 --daemon-compilerClasspath C: \ Users \ user \ projects \ lkb \ lkb \ target \ kotlin-compiler-1.3.10. jar
INFO [daemon] java.lang.NoClassDefFoundError: kotlin / reflect / KDeclarationContainer
Please tell me what I’m doing wrong.
In the project I use
Kotlin 1.3.10
maven