java.lang.NoSuchMethodError: method java.util.regex.Pattern.quote with signature (Ljava.lang.String;)Ljava.lang.String; was not found. (Closure::Error)

Server Fault | Theron Luhn | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Replace GIJ with Oracle Java

    Server Fault | 5 years ago | Theron Luhn
    java.lang.NoSuchMethodError: method java.util.regex.Pattern.quote with signature (Ljava.lang.String;)Ljava.lang.String; was not found. (Closure::Error)
  2. 0

    cannot build libspeex

    GitHub | 5 years ago | paleozogt
    java.lang.NoSuchMethodError: method java.util.regex.Pattern.quote with signature (Ljava.lang.String;)Ljava.lang.String; was not found.

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      method java.util.regex.Pattern.quote with signature (Ljava.lang.String;)Ljava.lang.String; was not found. (Closure::Error)

      at com.google.javascript.jscomp.RhinoErrorReporter.replacePlaceHolders()
    2. Closure Compiler
      CommandLineRunner.main
      1. com.google.javascript.jscomp.RhinoErrorReporter.replacePlaceHolders(RhinoErrorReporter.java:68)
      2. com.google.javascript.jscomp.RhinoErrorReporter.<init>(RhinoErrorReporter.java:74)
      3. com.google.javascript.jscomp.RhinoErrorReporter.<init>(RhinoErrorReporter.java:32)
      4. com.google.javascript.jscomp.RhinoErrorReporter$OldRhinoErrorReporter.<init>(RhinoErrorReporter.java:143)
      5. com.google.javascript.jscomp.RhinoErrorReporter$OldRhinoErrorReporter.<init>(RhinoErrorReporter.java:139)
      6. com.google.javascript.jscomp.RhinoErrorReporter.forOldRhino(RhinoErrorReporter.java:108)
      7. com.google.javascript.jscomp.Compiler.<init>(Compiler.java:151)
      8. com.google.javascript.jscomp.CommandLineRunner.createCompiler(CommandLineRunner.java:755)
      9. com.google.javascript.jscomp.AbstractCommandLineRunner.doRun(AbstractCommandLineRunner.java:693)
      10. com.google.javascript.jscomp.AbstractCommandLineRunner.run(AbstractCommandLineRunner.java:334)
      11. com.google.javascript.jscomp.CommandLineRunner.main(CommandLineRunner.java:871)
      11 frames