0

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)

Bahadar Ali
  • 173
  • 1
  • 3
  • 14

1 Answers1

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.

nrako
  • 2,952
  • 17
  • 30
  • The command luncher of counterclockwise and the operating system CLI works perfect for creating new luminus projects with multi-arguments. But I was concerning with counterclockwise GUI. – Bahadar Ali Mar 17 '17 at 05:13