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

JIRA | emacaf | 3 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

    Hello, we try to install SparkR using all the instructions that can be found on the web. We have a Cloudera Cluster CDH5 on operating system Centos 6.4 We get this error: $ ./install-dev.sh _ installing _source* package ‘SparkR’ ... ** libs ** arch - ./sbt/sbt assembly Attempting to fetch sbt ######################################################################## 100,0% Launching sbt from sbt/sbt-launch-0.12.4.jar java.lang.NoSuchMethodError: method java.util.regex.Matcher.quoteReplacement with signature (Ljava.lang.String;)Ljava.lang.String; was not found. at xsbt.boot.ConfigurationParser$.substituteVariables(ConfigurationParser.scala:22) at xsbt.boot.ConfigurationParser$$anonfun$readValue$1.apply$12a043c6$7b3fb352(ConfigurationParser.scala:103) at xsbt.boot.ConfigurationParser$$anonfun$readValue$1.apply(ConfigurationParser.scala:101) at scala.Option.map(Option.scala:133) at xsbt.boot.ConfigurationParser$$anonfun$getVersion$1.apply(ConfigurationParser.scala:97) at xsbt.boot.ConfigurationParser.process(ConfigurationParser.scala:110) at xsbt.boot.ConfigurationParser.getVersion(ConfigurationParser.scala:97) at xsbt.boot.ConfigurationParser$$anonfun$2.apply(ConfigurationParser.scala:72) at xsbt.boot.ConfigurationParser$$anonfun$processSection$1.apply(ConfigurationParser.scala:109) at xsbt.boot.ConfigurationParser.process(ConfigurationParser.scala:110) at xsbt.boot.ConfigurationParser.processSection(ConfigurationParser.scala:109) at xsbt.boot.ConfigurationParser.xsbt$boot$ConfigurationParser$$apply(ConfigurationParser.scala:54) at xsbt.boot.ConfigurationParser$$anonfun$apply$3.apply(ConfigurationParser.scala:52) at xsbt.boot.Using$.withResource(Using.scala:11) at xsbt.boot.Using$.apply(Using.scala:10) at xsbt.boot.Configuration$$anonfun$parse$1.apply(Configuration.scala:16) at xsbt.boot.Using$.withResource(Using.scala:11) at xsbt.boot.Using$.apply(Using.scala:10) at xsbt.boot.Configuration$.parse$fcb646c(Configuration.scala:16) at xsbt.boot.Launch$.apply(Launch.scala:16) at xsbt.boot.Boot$.runImpl(Boot.scala:31) at xsbt.boot.Boot$.main(Boot.scala:20) at xsbt.boot.Boot.main(Boot.scala) Error during sbt execution: java.lang.NoSuchMethodError: method java.util.regex.Matcher.quoteReplacement with signature (Ljava.lang.String;)Ljava.lang.String; was not found. make: _*_ [target/scala-2.10/sparkr-assembly-0.1.jar] Error 1 ERROR: compilation failed for package ‘SparkR’ * removing ‘/var/lib/hadoop-hdfs/SparkR-pkg/lib/SparkR’ Our java version is 1.5.0, can this fact be the cause of the issue? Thanks

    JIRA | 3 years ago | emacaf
    java.lang.NoSuchMethodError: method java.util.regex.Matcher.quoteReplacement with signature (Ljava.lang.String;)Ljava.lang.String; was not found.
  2. 0

    Hello, we try to install SparkR using all the instructions that can be found on the web. We have a Cloudera Cluster CDH5 on operating system Centos 6.4 We get this error: $ ./install-dev.sh _ installing _source* package ‘SparkR’ ... ** libs ** arch - ./sbt/sbt assembly Attempting to fetch sbt ######################################################################## 100,0% Launching sbt from sbt/sbt-launch-0.12.4.jar java.lang.NoSuchMethodError: method java.util.regex.Matcher.quoteReplacement with signature (Ljava.lang.String;)Ljava.lang.String; was not found. at xsbt.boot.ConfigurationParser$.substituteVariables(ConfigurationParser.scala:22) at xsbt.boot.ConfigurationParser$$anonfun$readValue$1.apply$12a043c6$7b3fb352(ConfigurationParser.scala:103) at xsbt.boot.ConfigurationParser$$anonfun$readValue$1.apply(ConfigurationParser.scala:101) at scala.Option.map(Option.scala:133) at xsbt.boot.ConfigurationParser$$anonfun$getVersion$1.apply(ConfigurationParser.scala:97) at xsbt.boot.ConfigurationParser.process(ConfigurationParser.scala:110) at xsbt.boot.ConfigurationParser.getVersion(ConfigurationParser.scala:97) at xsbt.boot.ConfigurationParser$$anonfun$2.apply(ConfigurationParser.scala:72) at xsbt.boot.ConfigurationParser$$anonfun$processSection$1.apply(ConfigurationParser.scala:109) at xsbt.boot.ConfigurationParser.process(ConfigurationParser.scala:110) at xsbt.boot.ConfigurationParser.processSection(ConfigurationParser.scala:109) at xsbt.boot.ConfigurationParser.xsbt$boot$ConfigurationParser$$apply(ConfigurationParser.scala:54) at xsbt.boot.ConfigurationParser$$anonfun$apply$3.apply(ConfigurationParser.scala:52) at xsbt.boot.Using$.withResource(Using.scala:11) at xsbt.boot.Using$.apply(Using.scala:10) at xsbt.boot.Configuration$$anonfun$parse$1.apply(Configuration.scala:16) at xsbt.boot.Using$.withResource(Using.scala:11) at xsbt.boot.Using$.apply(Using.scala:10) at xsbt.boot.Configuration$.parse$fcb646c(Configuration.scala:16) at xsbt.boot.Launch$.apply(Launch.scala:16) at xsbt.boot.Boot$.runImpl(Boot.scala:31) at xsbt.boot.Boot$.main(Boot.scala:20) at xsbt.boot.Boot.main(Boot.scala) Error during sbt execution: java.lang.NoSuchMethodError: method java.util.regex.Matcher.quoteReplacement with signature (Ljava.lang.String;)Ljava.lang.String; was not found. make: _*_ [target/scala-2.10/sparkr-assembly-0.1.jar] Error 1 ERROR: compilation failed for package ‘SparkR’ * removing ‘/var/lib/hadoop-hdfs/SparkR-pkg/lib/SparkR’ Our java version is 1.5.0, can this fact be the cause of the issue? Thanks

    JIRA | 3 years ago | emacaf
    java.lang.NoSuchMethodError: method java.util.regex.Matcher.quoteReplacement with signature (Ljava.lang.String;)Ljava.lang.String; was not found.

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      method java.util.regex.Matcher.quoteReplacement with signature (Ljava.lang.String;)Ljava.lang.String; was not found.

      at xsbt.boot.ConfigurationParser$.substituteVariables()
    2. SBT Launcher
      ConfigurationParser$$anonfun$readValue$1.apply
      1. xsbt.boot.ConfigurationParser$.substituteVariables(ConfigurationParser.scala:22)
      2. xsbt.boot.ConfigurationParser$$anonfun$readValue$1.apply$12a043c6$7b3fb352(ConfigurationParser.scala:103)
      3. xsbt.boot.ConfigurationParser$$anonfun$readValue$1.apply(ConfigurationParser.scala:101)
      3 frames
    3. Scala
      Option.map
      1. scala.Option.map(Option.scala:133)
      1 frame
    4. SBT Launcher
      Boot.main
      1. xsbt.boot.ConfigurationParser$$anonfun$getVersion$1.apply(ConfigurationParser.scala:97)
      2. xsbt.boot.ConfigurationParser.process(ConfigurationParser.scala:110)
      3. xsbt.boot.ConfigurationParser.getVersion(ConfigurationParser.scala:97)
      4. xsbt.boot.ConfigurationParser$$anonfun$2.apply(ConfigurationParser.scala:72)
      5. xsbt.boot.ConfigurationParser$$anonfun$processSection$1.apply(ConfigurationParser.scala:109)
      6. xsbt.boot.ConfigurationParser.process(ConfigurationParser.scala:110)
      7. xsbt.boot.ConfigurationParser.processSection(ConfigurationParser.scala:109)
      8. xsbt.boot.ConfigurationParser.xsbt$boot$ConfigurationParser$$apply(ConfigurationParser.scala:54)
      9. xsbt.boot.ConfigurationParser$$anonfun$apply$3.apply(ConfigurationParser.scala:52)
      10. xsbt.boot.Using$.withResource(Using.scala:11)
      11. xsbt.boot.Using$.apply(Using.scala:10)
      12. xsbt.boot.Configuration$$anonfun$parse$1.apply(Configuration.scala:16)
      13. xsbt.boot.Using$.withResource(Using.scala:11)
      14. xsbt.boot.Using$.apply(Using.scala:10)
      15. xsbt.boot.Configuration$.parse$fcb646c(Configuration.scala:16)
      16. xsbt.boot.Launch$.apply(Launch.scala:16)
      17. xsbt.boot.Boot$.runImpl(Boot.scala:31)
      18. xsbt.boot.Boot$.main(Boot.scala:20)
      19. xsbt.boot.Boot.main(Boot.scala)
      19 frames