【问题标题】:Can not run Clojure project with Cursive using Leiningen无法使用 Leiningen 使用 Cursive 运行 Clojure 项目
【发布时间】: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 itWhat to run 没有任何作用。

通过 Leiningen 选项卡启动项目会产生相同的错误消息。

【问题讨论】:

  • 不确定你的project.clj 长什么样,但我通常会在 IntelliJ 和lein run 的底部打开一个终端。如果您想从 Cursive REPL 运行程序,您可能还需要做其他事情。

标签: intellij-idea clojure leiningen cursive


【解决方案1】:

【讨论】:

    【解决方案2】:

    我也试着做lein run 让我知道这是否适合你。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-09-22
      • 1970-01-01
      • 1970-01-01
      • 2015-12-09
      • 1970-01-01
      • 2019-04-21
      • 2014-10-17
      • 1970-01-01
      相关资源
      最近更新 更多