Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/clojure/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Clojure &引用;“莱恩帮助”;“产出很多”_加载问题“;_Clojure_Leiningen - Fatal编程技术网

Clojure &引用;“莱恩帮助”;“产出很多”_加载问题“;

Clojure &引用;“莱恩帮助”;“产出很多”_加载问题“;,clojure,leiningen,Clojure,Leiningen,下载脚本并按照github说明安装leiningen。在Ubuntu/Linux设备上,我遇到了很多“加载问题”,很少有关于这个问题的google结果,下面是输出: $lein help Leiningen is a tool for working with Clojure projects. Several tasks are available: leiningen.classpath Problem loading: clean Remove compiled class

下载脚本并按照github说明安装leiningen。在Ubuntu/Linux设备上,我遇到了很多“加载问题”,很少有关于这个问题的google结果,下面是输出:

$lein help
Leiningen is a tool for working with Clojure projects.

Several tasks are available:
leiningen.classpath  Problem loading:
clean       Remove compiled class files and jars from project.
leiningen.compile  Problem loading: Could not initialize class leiningen.deps__init
leiningen.deploy  Problem loading: Could not initialize class leiningen.compile__init
leiningen.deps  Problem loading: Could not initialize class leiningen.deps__init
help        Display a list of tasks or help for a given task.
leiningen.install  Problem loading: Could not initialize class leiningen.jar__init
leiningen.interactive  Problem loading: Could not initialize class leiningen.compile__init
leiningen.jar  Problem loading: Could not initialize class leiningen.jar__init
leiningen.javac  Problem loading: Could not initialize class leiningen.classpath__init
new         Create a new project skeleton.
leiningen.plugin  Problem loading: Could not initialize class leiningen.jar__init
leiningen.pom  Problem loading: Could not initialize class leiningen.util.maven__init
leiningen.repl  Problem loading: Could not initialize class leiningen.compile__init
leiningen.retest  Problem loading: Could not initialize class leiningen.test__init
leiningen.run  Problem loading: Could not initialize class leiningen.compile__init
search      Search remote maven repositories for matching jars.
leiningen.test  Problem loading: Could not initialize class leiningen.test__init
leiningen.test!  Problem loading: Could not initialize class leiningen.deps__init
leiningen.trampoline  Problem loading: Could not initialize class leiningen.compile__init
leiningen.uberjar  Problem loading: Could not initialize class leiningen.uberjar__init
upgrade     Upgrade Leiningen to the latest stable release.
version     Print version for Leiningen and the current JVM.

Run lein help $TASK for details.
See also: readme, tutorial, copying, sample, deploying and news.

“修复”lein问题的常用步骤:

  • 运行升级中的
    lein
    (此处可能没有帮助)
  • ~/.m2
    移动到
    ~/.m2.bak
  • 再次运行
    lein自安装
  • 下载最新版本

我常用的“修复”莱因问题的步骤:

  • 运行升级中的
    lein
    (此处可能没有帮助)
  • ~/.m2
    移动到
    ~/.m2.bak
  • 再次运行
    lein自安装
  • 下载最新版本

您使用的是哪一版本的leiningen?Java 1.6.0_22 OpenJDK 64位服务器上的leiningen 1.7.1-SNAPSHOT vm您使用的是哪一版本的leiningen?Java 1.6.0_22 OpenJDK 64位服务器上的leiningen 1.7.1-SNAPSHOT VMTweaking ~/.m2对于涉及leiningen本身的问题不应该是必需的,仅适用于涉及使用Leiningen获取的依赖项的问题。对于涉及Leiningen本身的问题,不需要调整~/.m2,仅适用于涉及使用Leiningen获取的依赖项的问题。