【发布时间】:2020-07-26 02:54:01
【问题描述】:
我无法使用 intellij 插件草书运行简单的测试项目。我可以毫无问题地打开 REPL,甚至可以调用 core.clj 文件中定义的函数。
但是直接运行项目会产生以下错误消息:
Error running 'new-project.core': failed to access class com.intellij.execution.impl.ProcessStreamsSynchronizer from class com.intellij.execution.impl.ConsoleViewRunningState (com.intellij.execution.impl.ProcessStreamsSynchronizer is in unnamed module of loader com.intellij.util.lang.UrlClassLoader @402f32ff; com.intellij.execution.impl.ConsoleViewRunningState is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @c9a79eb)
Intellij 运行配置here。更改 How to run it 和 What to run 没有任何作用。
通过 Leiningen 选项卡启动项目会产生相同的错误消息。
【问题讨论】:
-
不确定你的
project.clj长什么样,但我通常会在 IntelliJ 和lein run的底部打开一个终端。如果您想从 Cursive REPL 运行程序,您可能还需要做其他事情。
标签: intellij-idea clojure leiningen cursive