java.lang.NoSuchMethodError

com.google.common.base.CharMatcher.javaUpperCase()Lcom/google/common/base/CharMatcher;, compiling:(/private/var/folders/ms/7lyl677n0zz5dnw0wxffj8j00000gn/T/form-init4762266950288731870.clj:1:125)

Solutions on the web2904

  • via Stack Overflow by Alex Lynham
    , 5 months ago
    com.google.common.base.CharMatcher.javaUpperCase()Lcom/google/common/base/CharMatcher;, compiling:(/private/var/folders/ms/7lyl677n0zz5dnw0wxffj8j00000gn/T/form-init4762266950288731870.clj:1:125)
  • com.google.common.io.ByteStreams.limit(Ljava/io/InputStream;J)Ljava/io/InputStream;, compiling:(/private/var/folders/rh/9n_lh65n70j80h07nk70f67h0000gn/T/form-init9121652322381704151.clj:1:125)
  • com.google.common.base.Platform.precomputeCharMatcher(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher;
  • Stack trace

    • java.lang.NoSuchMethodError: com.google.common.base.CharMatcher.javaUpperCase()Lcom/google/common/base/CharMatcher;, compiling:(/private/var/folders/ms/7lyl677n0zz5dnw0wxffj8j00000gn/T/form-init4762266950288731870.clj:1:125) at clojure.lang.Compiler.load(Compiler.java:7391) at clojure.lang.Compiler.loadFile(Compiler.java:7317) at clojure.main$load_script.invokeStatic(main.clj:275) at clojure.main$init_opt.invokeStatic(main.clj:277) at clojure.main$init_opt.invoke(main.clj:277) at clojure.main$initialize.invokeStatic(main.clj:308) at clojure.main$null_opt.invokeStatic(main.clj:342) at clojure.main$null_opt.invoke(main.clj:339) at clojure.main$main.invokeStatic(main.clj:421) at clojure.main$main.doInvoke(main.clj:384) at clojure.lang.RestFn.invoke(RestFn.java:421) at clojure.lang.Var.invoke(Var.java:383) at clojure.lang.AFn.applyToHelper(AFn.java:156) at clojure.lang.Var.applyTo(Var.java:700) at clojure.main.main(main.java:37) Caused by: java.lang.NoSuchMethodError: com.google.common.base.CharMatcher.javaUpperCase()Lcom/google/common/base/CharMatcher; at com.google.javascript.jscomp.parsing.JsDocInfoParser.validTemplateTypeName(JsDocInfoParser.java:1233) at com.google.javascript.jscomp.parsing.JsDocInfoParser.parseAnnotation(JsDocInfoParser.java:953) at com.google.javascript.jscomp.parsing.JsDocInfoParser.parseHelperLoop(JsDocInfoParser.java:290) at com.google.javascript.jscomp.parsing.JsDocInfoParser.parse(JsDocInfoParser.java:280) at com.google.javascript.jscomp.parsing.IRFactory.createJsDocInfoParser(IRFactory.java:910) at com.google.javascript.jscomp.parsing.IRFactory.handleJsDoc(IRFactory.java:692) at com.google.javascript.jscomp.parsing.IRFactory.handleJsDoc(IRFactory.java:706) at com.google.javascript.jscomp.parsing.IRFactory.transform(IRFactory.java:766) at com.google.javascript.jscomp.parsing.IRFactory$TransformDispatcher.processAstRoot(IRFactory.java:1024) at com.google.javascript.jscomp.parsing.IRFactory$TransformDispatcher.process(IRFactory.java:2712) at com.google.javascript.jscomp.parsing.IRFactory.transformTree(IRFactory.java:356) at com.google.javascript.jscomp.parsing.ParserRunner.parse(ParserRunner.java:129) at com.google.javascript.jscomp.JsAst.parse(JsAst.java:142) at com.google.javascript.jscomp.JsAst.getAstRoot(JsAst.java:52) at com.google.javascript.jscomp.CompilerInput.getAstRoot(CompilerInput.java:118) at com.google.javascript.jscomp.Compiler.parseInputs(Compiler.java:1443) at com.google.javascript.jscomp.Compiler.parse(Compiler.java:775) at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:731) at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:83) at com.google.javascript.jscomp.Compiler$2.call(Compiler.java:698) at com.google.javascript.jscomp.Compiler$2.call(Compiler.java:695) at com.google.javascript.jscomp.CompilerExecutor$2.call(CompilerExecutor.java:93) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.