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

Couchbase JIRA | Phil Labee | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    cd couchbase-lite-android/CouchbaseLiteProject ./build_android_testing.sh java.lang.NoSuchMethodError: method java.util.regex.Pattern.quote with signature (Ljava.lang.String;)Ljava.lang.String; was not found. at org.gradle.api.internal.classpath.DefaultModuleRegistry.findExternalJar(DefaultModuleRegistry.java:226) at org.gradle.api.internal.classpath.DefaultModuleRegistry.getExternalModule(DefaultModuleRegistry.java:101) at org.gradle.api.internal.DefaultClassPathProvider.findClassPath(DefaultClassPathProvider.java:46) at org.gradle.api.internal.DefaultClassPathRegistry.getClassPath(DefaultClassPathRegistry.java:34) at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:43) at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:32) at org.gradle.launcher.GradleMain.main(GradleMain.java:26) at java.lang.reflect.Method.invoke(libgcj.so.12) at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:33) at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:130) at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:48) Copying CBLite/build.gradle to CBLite/build.gradle.bak Copying CBLiteListener/build.gradle to CBLiteListener/build.gradle.bak Copying CouchbaseLiteProject/build.gradle to CouchbaseLiteProject/build.gradle.bak Set CBLite/build.gradle to testing mode Set CBLiteListener/build.gradle to testing mode Set CouchbaseLiteProject/build.gradle to testing mode Building .. Build error, aborting

    Couchbase JIRA | 3 years ago | Phil Labee
    java.lang.NoSuchMethodError: method java.util.regex.Pattern.quote with signature (Ljava.lang.String;)Ljava.lang.String; was not found.
  2. 0

    cd couchbase-lite-android/CouchbaseLiteProject ./build_android_testing.sh java.lang.NoSuchMethodError: method java.util.regex.Pattern.quote with signature (Ljava.lang.String;)Ljava.lang.String; was not found. at org.gradle.api.internal.classpath.DefaultModuleRegistry.findExternalJar(DefaultModuleRegistry.java:226) at org.gradle.api.internal.classpath.DefaultModuleRegistry.getExternalModule(DefaultModuleRegistry.java:101) at org.gradle.api.internal.DefaultClassPathProvider.findClassPath(DefaultClassPathProvider.java:46) at org.gradle.api.internal.DefaultClassPathRegistry.getClassPath(DefaultClassPathRegistry.java:34) at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:43) at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:32) at org.gradle.launcher.GradleMain.main(GradleMain.java:26) at java.lang.reflect.Method.invoke(libgcj.so.12) at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:33) at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:130) at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:48) Copying CBLite/build.gradle to CBLite/build.gradle.bak Copying CBLiteListener/build.gradle to CBLiteListener/build.gradle.bak Copying CouchbaseLiteProject/build.gradle to CouchbaseLiteProject/build.gradle.bak Set CBLite/build.gradle to testing mode Set CBLiteListener/build.gradle to testing mode Set CouchbaseLiteProject/build.gradle to testing mode Building .. Build error, aborting

    Couchbase JIRA | 3 years ago | Phil Labee
    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.

      at org.gradle.api.internal.classpath.DefaultModuleRegistry.findExternalJar()
    2. Gradle Core
      DefaultClassPathRegistry.getClassPath
      1. org.gradle.api.internal.classpath.DefaultModuleRegistry.findExternalJar(DefaultModuleRegistry.java:226)
      2. org.gradle.api.internal.classpath.DefaultModuleRegistry.getExternalModule(DefaultModuleRegistry.java:101)
      3. org.gradle.api.internal.DefaultClassPathProvider.findClassPath(DefaultClassPathProvider.java:46)
      4. org.gradle.api.internal.DefaultClassPathRegistry.getClassPath(DefaultClassPathRegistry.java:34)
      4 frames
    3. Gradle Launcher
      GradleMain.main
      1. org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:43)
      2. org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:32)
      3. org.gradle.launcher.GradleMain.main(GradleMain.java:26)
      3 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(libgcj.so.12)
      1 frame
    5. org.gradle.wrapper
      GradleWrapperMain.main
      1. org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:33)
      2. org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:130)
      3. org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:48)
      3 frames