the quick-start uses the cljs 1.7.48 jar. 1.7.48 had a windows regression, which was fixed in 1.7.58 ( see: https://github.com/clojure/clojurescript/releases ). i'm guessing that's what's causing this error.
w/ mies, you could probably try bumping cljs up to 1.7.58 (or even 1.7.107). for the quick start, i guess you'd need to build from master to get a working jar. that's a bit involved, but i wrote up the steps that worked for me here: https://www.refheap.com/107799 On Friday, August 14, 2015 at 6:42:44 AM UTC-5, Rick Beerendonk wrote: > When I try to build the simple Quick Start > (https://github.com/clojure/clojurescript/wiki/Quick-Start) or Mies example > (https://github.com/swannodette/mies), I got a error which I don't understand: > > Exception in thread "main" java.lang.ExceptionInInitializerError, > compiling:(/Users/***/Documents/cljs-quick-start/hello_world/build.clj:1:1) > at clojure.lang.Compiler.load(Compiler.java:7239) > at clojure.lang.Compiler.loadFile(Compiler.java:7165) > at clojure.main$load_script.invoke(main.clj:275) > at clojure.main$script_opt.invoke(main.clj:337) > at clojure.main$main.doInvoke(main.clj:421) > at clojure.lang.RestFn.invoke(RestFn.java:408) > at clojure.lang.Var.invoke(Var.java:379) > at clojure.lang.AFn.applyToHelper(AFn.java:154) > at clojure.lang.Var.applyTo(Var.java:700) > at clojure.main.main(main.java:37) > Caused by: java.lang.ExceptionInInitializerError > at cljs.util__init.load(Unknown Source) > at cljs.util__init.<clinit>(Unknown Source) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:249) > at clojure.lang.RT.classForName(RT.java:2154) > at clojure.lang.RT.classForName(RT.java:2163) > at clojure.lang.RT.loadClassForName(RT.java:2182) > at clojure.lang.RT.load(RT.java:436) > at clojure.lang.RT.load(RT.java:412) > at clojure.core$load$fn__5448.invoke(core.clj:5866) > at clojure.core$load.doInvoke(core.clj:5865) > at clojure.lang.RestFn.invoke(RestFn.java:408) > at clojure.core$load_one.invoke(core.clj:5671) > at clojure.core$load_lib$fn__5397.invoke(core.clj:5711) > at clojure.core$load_lib.doInvoke(core.clj:5710) > at clojure.lang.RestFn.applyTo(RestFn.java:142) > at clojure.core$apply.invoke(core.clj:632) > at clojure.core$load_libs.doInvoke(core.clj:5749) > at clojure.lang.RestFn.applyTo(RestFn.java:137) > at clojure.core$apply.invoke(core.clj:632) > at clojure.core$require.doInvoke(core.clj:5832) > at clojure.lang.RestFn.invoke(RestFn.java:619) > at cljs.build.api$loading__5340__auto____3367.invoke(api.clj:8) > at cljs.build.api__init.load(Unknown Source) > at cljs.build.api__init.<clinit>(Unknown Source) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:249) > at clojure.lang.RT.classForName(RT.java:2154) > at clojure.lang.RT.classForName(RT.java:2163) > at clojure.lang.RT.loadClassForName(RT.java:2182) > at clojure.lang.RT.load(RT.java:436) > at clojure.lang.RT.load(RT.java:412) > at clojure.core$load$fn__5448.invoke(core.clj:5866) > at clojure.core$load.doInvoke(core.clj:5865) > at clojure.lang.RestFn.invoke(RestFn.java:408) > at clojure.core$load_one.invoke(core.clj:5671) > at clojure.core$load_lib$fn__5397.invoke(core.clj:5711) > at clojure.core$load_lib.doInvoke(core.clj:5710) > at clojure.lang.RestFn.applyTo(RestFn.java:142) > at clojure.core$apply.invoke(core.clj:632) > at clojure.core$load_libs.doInvoke(core.clj:5749) > at clojure.lang.RestFn.applyTo(RestFn.java:137) > at clojure.core$apply.invoke(core.clj:632) > at clojure.core$require.doInvoke(core.clj:5832) > at clojure.lang.RestFn.invoke(RestFn.java:408) > at user$eval1.invoke(build.clj:1) > at clojure.lang.Compiler.eval(Compiler.java:6782) > at clojure.lang.Compiler.load(Compiler.java:7227) > ... 9 more > Caused by: java.util.regex.PatternSyntaxException: Unknown inline modifier > near index 2 > (?U)^[\p{Alpha}_$] > ^ > at java.util.regex.Pattern.error(Pattern.java:1713) > at java.util.regex.Pattern.group0(Pattern.java:2519) > at java.util.regex.Pattern.sequence(Pattern.java:1806) > at java.util.regex.Pattern.expr(Pattern.java:1752) > at java.util.regex.Pattern.compile(Pattern.java:1460) > at java.util.regex.Pattern.<init>(Pattern.java:1133) > at java.util.regex.Pattern.compile(Pattern.java:823) > at cljs.util$valid_js_id_start_QMARK_.<clinit>(util.cljc:167) > ... 57 more > > So I might have made an error while typing manually (I checked multiple > times), but the Mies example is so straightforward that I expect another > problem. I have installed Java 8 Update 51. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
