When I want to create new clojure project in eclipse and specifying template name in the field "leiningen template:" as luminus +cljs +http-kit it throws the exception
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), Counterclockwise (0.34.0.STABLE001)
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
+ LL
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 (ie remove +cljs +http-kit
). At the very least, this will isolate whether or not the extra params are causing the exception.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.