first of all, congratulations on this release, it's a huge step ahead.
I'm having an issue compiling a program with advanced optimizations, which worked fine with .293
I get the following exception, any ideas on how can i narrow down the problem within my source?
Exception in thread "main" java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkState(ZLjava/lang/String;Ljava/lang/Object;)V, compiling:(/tmp/form-init5778645093287298904.clj:1:73)
at clojure.lang.Compiler.load(Compiler.java:7442)
at clojure.lang.Compiler.loadFile(Compiler.java:7368)
at clojure.main$load_script.invokeStatic(main.clj:277)
at clojure.main$init_opt.invokeStatic(main.clj:279)
at clojure.main$init_opt.invoke(main.clj:279)
at clojure.main$initialize.invokeStatic(main.clj:310)
at clojure.main$null_opt.invokeStatic(main.clj:344)
at clojure.main$null_opt.invoke(main.clj:341)
at clojure.main$main.invokeStatic(main.clj:423)
at clojure.main$main.doInvoke(main.clj:386)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.lang.Var.applyTo(Var.java:700)
at clojure.main.main(main.java:37)
Caused by: java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkState(ZLjava/lang/String;Ljava/lang/Object;)V
at com.google.javascript.rhino.IR.name(IR.java:363)
at com.google.javascript.jscomp.ClosureCodingConvention.<clinit>(ClosureCodingConvention.java:474)
at com.google.javascript.jscomp.Compiler.<init>(Compiler.java:202)
at com.google.javascript.jscomp.Compiler.<init>(Compiler.java:264)
at cljs.closure$make_closure_compiler.invokeStatic(closure.clj:293)
at cljs.closure$optimize.invokeStatic(closure.clj:1255)
at cljs.closure$optimize.doInvoke(closure.clj:1251)
at clojure.lang.RestFn.applyTo(RestFn.java:139)
at clojure.core$apply.invokeStatic(core.clj:659)
at cljs.closure$build.invokeStatic(closure.clj:2113)
at cljs.build.api$build.invokeStatic(api.clj:205)
at cljs.build.api$build.invoke(api.clj:193)
at cljs.build.api$build.invokeStatic(api.clj:196)
at cljsbuild.compiler$compile_cljs$fn__6997.invoke(compiler.clj:59)
at cljsbuild.compiler$compile_cljs.invokeStatic(compiler.clj:59)
at cljsbuild.compiler$run_compiler.invokeStatic(compiler.clj:167)
at user$eval7152$iter__7200__7204$fn__7205$fn__7231.invoke(form-init5778645093287298904.clj:1)
at user$eval7152$iter__7200__7204$fn__7205.invoke(form-init5778645093287298904.clj:1)
at clojure.lang.LazySeq.sval(LazySeq.java:40)
at clojure.lang.LazySeq.seq(LazySeq.java:49)
at clojure.lang.RT.seq(RT.java:525)
at clojure.core$seq__6422.invokeStatic(core.clj:137)
at clojure.core$dorun.invokeStatic(core.clj:3106)
at clojure.core$doall.invokeStatic(core.clj:3121)
at user$eval7152.invokeStatic(form-init5778645093287298904.clj:1)
at user$eval7152.invoke(form-init5778645093287298904.clj:1)
at clojure.lang.Compiler.eval(Compiler.java:6978)
at clojure.lang.Compiler.eval(Compiler.java:6968)
at clojure.lang.Compiler.load(Compiler.java:7430)
... 12 more
thanks in advance
Francesco
--
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 clojurescrip...@googlegroups.com.
To post to this group, send email to clojur...@googlegroups.com.
Visit this group at https://groups.google.com/group/clojurescript.
Francesco
Had the same issue. Fixed it by upgrading guava dependency to [com.google.guava/guava "21.0"]
On Sunday, January 29, 2017 at 3:01:16 AM UTC+7, Francesco Bellomi wrote:Found, thanks!
Francesco