0

当我想在 Eclipse 中创建新的 clojure 项目并在“leiningen 模板:”字段中指定模板名称为luminus +cljs +http-kit时,它会抛出异常
Exception while creating new project Could not load template, failed with: java.lang.IllegalAccessError: raw-resource does not exist, compiling:(leiningen/new/common.clj:1:1)
Installed: Eclipse Mars (4.5.0), 逆时针 (0.34.0.稳定001)

4

1 回答 1

0

It is possible that the template name in Counterclockwise does not allow additional command line arguments.

You might try opening a command launcher with Alt+L L as documented here, and run the command again - lein new luminus <APP_NAME> +cljs +http-kit

Edit

If you need to use the GUI, you might try putting Luminus as the template without the extra CLI params (i.e. remove +cljs +http-kit). At the very least, this will isolate whether or not the extra params are causing the exception.

于 2017-03-15T20:39:38.100 回答