Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
NoSuchMethodError at xsbt.boot.Boot.main building play
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Rei Mai  
View profile  
 More options Nov 19 2012, 5:51 pm
From: Rei Mai <naugad...@gmail.com>
Date: Mon, 19 Nov 2012 14:51:32 -0800 (PST)
Local: Mon, Nov 19 2012 5:51 pm
Subject: NoSuchMethodError at xsbt.boot.Boot.main building play

This is what i get trying to do anything with play:

$ play help
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.scal a:22)
   at xsbt.boot.ConfigurationParser.toFile(ConfigurationParser.scala:120)
   at
xsbt.boot.ConfigurationParser$$anonfun$file$1.apply(ConfigurationParser.sca la:122)
   at scala.Option.map(Option.scala:133)
   at xsbt.boot.ConfigurationParser.file(ConfigurationParser.scala:122)
   at
xsbt.boot.ConfigurationParser$$anonfun$5.apply(ConfigurationParser.scala:68 )
   at
xsbt.boot.ConfigurationParser$$anonfun$processSection$1.apply(Configuration Parser.scala:101)
   at xsbt.boot.ConfigurationParser.process(ConfigurationParser.scala:102)
   at
xsbt.boot.ConfigurationParser.processSection(ConfigurationParser.scala:101)
   at
xsbt.boot.ConfigurationParser.xsbt$boot$ConfigurationParser$$apply(Configur ationParser.scala:60)
   at
xsbt.boot.ConfigurationParser$$anonfun$apply$3.apply(ConfigurationParser.sc ala: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:15)
   at xsbt.boot.Using$.withResource(Using.scala:11)
   at xsbt.boot.Using$.apply(Using.scala:10)
   at xsbt.boot.Configuration$.parse$fcb646c(Configuration.scala:15)
   at xsbt.boot.Launch$.apply(Launch.scala:14)
   at xsbt.boot.Boot$.runImpl(Boot.scala:25)
   at xsbt.boot.Boot$.main(Boot.scala:15)
   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.

I have binary play 2.0.4 (last October 01 2012 version) installed on ubuntu
12.10 with 1.6.37 jdk
play path is my home path, which has no space characters
the same version of play works perfectly on my other machine


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
James Roper  
View profile  
 More options Nov 19 2012, 6:35 pm
From: James Roper <jrop...@gmail.com>
Date: Mon, 19 Nov 2012 15:35:27 -0800 (PST)
Local: Mon, Nov 19 2012 6:35 pm
Subject: Re: NoSuchMethodError at xsbt.boot.Boot.main building play

Could you double check that that is indeed the version of Java that you're
using?  quoteReplacement was added in Java 1.5.  It may be the case that
the version of Java on your path is the GNU JVM, or a very old 1.4 version.

Could you run the following commands:

echo $JAVA_HOME
which java

And see what they output?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rei Mai  
View profile  
 More options Nov 19 2012, 6:59 pm
From: Rei Mai <naugad...@gmail.com>
Date: Mon, 19 Nov 2012 15:59:50 -0800 (PST)
Local: Mon, Nov 19 2012 6:59 pm
Subject: Re: NoSuchMethodError at xsbt.boot.Boot.main building play

the output is
/opt/jdk1.6.0_37

i checked this method and it really does not
match quoteReplacement(String[] string) signature,
its quoteReplacement(String string), so i expect some input string broke on
many...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
James Roper  
View profile  
 More options Nov 19 2012, 7:54 pm
From: James Roper <jrop...@gmail.com>
Date: Mon, 19 Nov 2012 16:54:00 -0800 (PST)
Subject: Re: NoSuchMethodError at xsbt.boot.Boot.main building play

quoteReplacement(Ljava.lang.String;)Ljava.lang.String;  means
quoteReplacement(String): String, the L means object, so the signature it's
looking for is correct, it's just odd that your JDKs implementation of
Matcher is not able to find this method.  What do you get when you run java
-version?  Is this Oracles JDK or OpenJDK?  Could you try apt-get install
openjdk-7-jdk, and then run

JAVA_HOME=/usr/lib/jvm/java-7-openjdk-i386 play help


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rei Mai  
View profile  
 More options Nov 20 2012, 12:08 am
From: Rei Mai <naugad...@gmail.com>
Date: Mon, 19 Nov 2012 21:08:52 -0800 (PST)
Local: Tues, Nov 20 2012 12:08 am
Subject: Re: NoSuchMethodError at xsbt.boot.Boot.main building play

oh, sorry, you are right, no [

it works on 7th openjdk, and yes, for oracle jdk java -version returns 1.5!
turns out i have /usr/bin/java pointing to version 1.5 and going earlier in
PATH

thank you! sorry for the trouble


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
James Roper  
View profile  
 More options Nov 20 2012, 12:17 am
From: James Roper <jrop...@gmail.com>
Date: Mon, 19 Nov 2012 21:17:37 -0800 (PST)
Local: Tues, Nov 20 2012 12:17 am
Subject: Re: NoSuchMethodError at xsbt.boot.Boot.main building play

> thank you! sorry for the trouble

No worries.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »