java.lang.NoSuchMethodError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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
    via by emacaf,
  • 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
    via by emacaf,
    • 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)
    No Bugmate found.