[英]How to fix Kotlin REPL exception NoClassDefFoundError
I'm attempting to run the Kotlin REPL on my windows 10 machine, from the command line. 我试图在Windows 10计算机上从命令行运行Kotlin REPL。 I am receiving a
java.lang.NoClassDefFoundError: org/jline/reader/LineReaderBuilder
exception when running the command kotlinc
运行命令
kotlinc
时,我收到java.lang.NoClassDefFoundError: org/jline/reader/LineReaderBuilder
异常
I have IntelliJ Ultimate 2019.1.3 installed, with the Kotlin plugin. 我已经安装了带有Kotlin插件的IntelliJ Ultimate 2019.1.3。 I have the Kotlin standalone compiler also installed and I've added that location to my system path.
我还安装了Kotlin独立编译器,并且已将该位置添加到系统路径中。 I've tried to run the command from the standalone directory: "C:/Tools/kotlinc/bin" but no difference.
我尝试从独立目录运行命令:“ C:/ Tools / kotlinc / bin”,但没有区别。
I expect the REPL to start without an exception. 我希望REPL毫无例外地启动。 What could be causing the exception?
是什么引起异常?
Thank you all! 谢谢你们!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.