Exception in thread "main" java.lang.NoClassDefFoundError: scala/Right at org.specs2.runner.SpecsFramework.testRunner(TestInterfaceRunner.scala:18) at org.specs2.runner.SpecsFramework.testRunner(TestInterfaceRunner.scala:15) at sbt.ForkMain$Run.run(ForkMain.java:130) at sbt.ForkMain.main(ForkMain.java:70) Caused by: java.lang.ClassNotFoundException: scala.Right at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) ... 4 more
> Exception in thread "main" java.lang.NoClassDefFoundError: scala/Right > at > org.specs2.runner.SpecsFramework.testRunner(TestInterfaceRunner.scala:18) > at > org.specs2.runner.SpecsFramework.testRunner(TestInterfaceRunner.scala:15) > at sbt.ForkMain$Run.run(ForkMain.java:130) > at sbt.ForkMain.main(ForkMain.java:70) > Caused by: java.lang.ClassNotFoundException: scala.Right > at java.net.URLClassLoader$1.run(URLClassLoader.java:217) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:205) > at java.lang.ClassLoader.loadClass(ClassLoader.java:321) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) > at java.lang.ClassLoader.loadClass(ClassLoader.java:266) > ... 4 more
The new application will be created in /home/bmccann/src/tmp
What is the application name?
> tmp
Which template do you want to use for this new application?
1 - Create a simple Scala application 2 - Create a simple Java application 3 - Create an empty project <g8 template> - Create an app based on the g8 template hosted on Github
> 2
java.lang.NoSuchMethodError: scalax.io.Input.string$default$1()Lscalax/io/Codec; at play.console.Console$.replace(Console.scala:29) at play.console.Console$.generateLocalTemplate(Console.scala:61) at play.console.Console$.newCommand(Console.scala:133) at play.console.Console$$anonfun$10$$anonfun$apply$5.apply(Console.scala:182) at play.console.Console$$anonfun$10$$anonfun$apply$5.apply(Console.scala:182) at play.console.Console$$anonfun$11.apply(Console.scala:185) at play.console.Console$$anonfun$11.apply(Console.scala:184) at scala.Option.map(Option.scala:133) at play.console.Console$.main(Console.scala:184) at play.console.Console.run(Console.scala:208) at play.console.Console.run(Console.scala:205) at xsbt.boot.Launch$.run(Launch.scala:55) at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:45) at xsbt.boot.Launch$.launch(Launch.scala:69) 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: scalax.io.Input.string$default$1()Lscalax/io/Codec;
>> Exception in thread "main" java.lang.NoClassDefFoundError: scala/Right >> at >> org.specs2.runner.SpecsFramework.testRunner(TestInterfaceRunner.scala:18) >> at >> org.specs2.runner.SpecsFramework.testRunner(TestInterfaceRunner.scala:15) >> at sbt.ForkMain$Run.run(ForkMain.java:130) >> at sbt.ForkMain.main(ForkMain.java:70) >> Caused by: java.lang.ClassNotFoundException: scala.Right >> at java.net.URLClassLoader$1.run(URLClassLoader.java:217) >> at java.security.AccessController.doPrivileged(Native Method) >> at java.net.URLClassLoader.findClass(URLClassLoader.java:205) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:321) >> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:266) >> ... 4 more
The new application will be created in /Users/phausel/x
What is the application name?
> x
Which template do you want to use for this new application?
1 - Create a simple Scala application 2 - Create a simple Java application 3 - Create an empty project <g8 template> - Create an app based on the g8 template hosted on Github
> The new application will be created in /home/bmccann/src/tmp
> What is the application name? > > tmp
> Which template do you want to use for this new application?
> 1 - Create a simple Scala application > 2 - Create a simple Java application > 3 - Create an empty project > <g8 template> - Create an app based on the g8 template hosted on Github
> > 2 > java.lang.NoSuchMethodError: > scalax.io.Input.string$default$1()Lscalax/io/Codec; > at play.console.Console$.replace(Console.scala:29) > at play.console.Console$.generateLocalTemplate(Console.scala:61) > at play.console.Console$.newCommand(Console.scala:133) > at > play.console.Console$$anonfun$10$$anonfun$apply$5.apply(Console.scala:182) > at > play.console.Console$$anonfun$10$$anonfun$apply$5.apply(Console.scala:182) > at play.console.Console$$anonfun$11.apply(Console.scala:185) > at play.console.Console$$anonfun$11.apply(Console.scala:184) > at scala.Option.map(Option.scala:133) > at play.console.Console$.main(Console.scala:184) > at play.console.Console.run(Console.scala:208) > at play.console.Console.run(Console.scala:205) > at xsbt.boot.Launch$.run(Launch.scala:55) > at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:45) > at xsbt.boot.Launch$.launch(Launch.scala:69) > 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: > scalax.io.Input.string$default$1()Lscalax/io/Codec;
> On Monday, October 8, 2012 10:33:54 AM UTC-7, peter hausel wrote:
>> I can not replicate this. Do you have a test case? Thanks Peter
>> On Monday, October 8, 2012 1:17:03 PM UTC-4, Ben McCann wrote:
>>> Exception in thread "main" java.lang.NoClassDefFoundError: scala/Right >>> at >>> org.specs2.runner.SpecsFramework.testRunner(TestInterfaceRunner.scala:18) >>> at >>> org.specs2.runner.SpecsFramework.testRunner(TestInterfaceRunner.scala:15) >>> at sbt.ForkMain$Run.run(ForkMain.java:130) >>> at sbt.ForkMain.main(ForkMain.java:70) >>> Caused by: java.lang.ClassNotFoundException: scala.Right >>> at java.net.URLClassLoader$1.run(URLClassLoader.java:217) >>> at java.security.AccessController.doPrivileged(Native Method) >>> at java.net.URLClassLoader.findClass(URLClassLoader.java:205) >>> at java.lang.ClassLoader.loadClass(ClassLoader.java:321) >>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) >>> at java.lang.ClassLoader.loadClass(ClassLoader.java:266) >>> ... 4 more
> The new application will be created in /Users/phausel/x
> What is the application name? > > x
> Which template do you want to use for this new application?
> 1 - Create a simple Scala application > 2 - Create a simple Java application > 3 - Create an empty project > <g8 template> - Create an app based on the g8 template hosted on Github
> > 2 > OK, application x is created.
> Have fun! > --------------
> On Monday, October 8, 2012 4:56:04 PM UTC-4, Ben McCann wrote:
>> I was going to try to create a test case, but I'm afraid I can't get that >> far even :-) Do you have any trouble creating new projects?
>> The new application will be created in /home/bmccann/src/tmp
>> What is the application name? >> > tmp
>> Which template do you want to use for this new application?
>> 1 - Create a simple Scala application >> 2 - Create a simple Java application >> 3 - Create an empty project >> <g8 template> - Create an app based on the g8 template hosted on Github
>> > 2 >> java.lang.NoSuchMethodError: >> scalax.io.Input.string$default$1()Lscalax/io/Codec; >> at play.console.Console$.replace(Console.scala:29) >> at play.console.Console$.generateLocalTemplate(Console.scala:61) >> at play.console.Console$.newCommand(Console.scala:133) >> at >> play.console.Console$$anonfun$10$$anonfun$apply$5.apply(Console.scala:182) >> at >> play.console.Console$$anonfun$10$$anonfun$apply$5.apply(Console.scala:182) >> at play.console.Console$$anonfun$11.apply(Console.scala:185) >> at play.console.Console$$anonfun$11.apply(Console.scala:184) >> at scala.Option.map(Option.scala:133) >> at play.console.Console$.main(Console.scala:184) >> at play.console.Console.run(Console.scala:208) >> at play.console.Console.run(Console.scala:205) >> at xsbt.boot.Launch$.run(Launch.scala:55) >> at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:45) >> at xsbt.boot.Launch$.launch(Launch.scala:69) >> 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: >> scalax.io.Input.string$default$1()Lscalax/io/Codec;
>> On Monday, October 8, 2012 10:33:54 AM UTC-7, peter hausel wrote:
>>> I can not replicate this. Do you have a test case? Thanks Peter
>>> On Monday, October 8, 2012 1:17:03 PM UTC-4, Ben McCann wrote:
>>>> Exception in thread "main" java.lang.NoClassDefFoundError: scala/Right >>>> at >>>> org.specs2.runner.SpecsFramework.testRunner(TestInterfaceRunner.scala:18) >>>> at >>>> org.specs2.runner.SpecsFramework.testRunner(TestInterfaceRunner.scala:15) >>>> at sbt.ForkMain$Run.run(ForkMain.java:130) >>>> at sbt.ForkMain.main(ForkMain.java:70) >>>> Caused by: java.lang.ClassNotFoundException: scala.Right >>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:217) >>>> at java.security.AccessController.doPrivileged(Native Method) >>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:205) >>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:321) >>>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) >>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:266) >>>> ... 4 more
Yes, I'm using the latest checked out from Github. I just completely deleted it, did a new "git clone", and it's still broken. Any ideas why it might be broken for me and not you?
>> The new application will be created in /Users/phausel/x
>> What is the application name? >> > x
>> Which template do you want to use for this new application?
>> 1 - Create a simple Scala application >> 2 - Create a simple Java application >> 3 - Create an empty project >> <g8 template> - Create an app based on the g8 template hosted on Github
>> > 2 >> OK, application x is created.
>> Have fun! >> --------------
>> On Monday, October 8, 2012 4:56:04 PM UTC-4, Ben McCann wrote:
>>> I was going to try to create a test case, but I'm afraid I can't get >>> that far even :-) Do you have any trouble creating new projects?
>>> The new application will be created in /home/bmccann/src/tmp
>>> What is the application name? >>> > tmp
>>> Which template do you want to use for this new application?
>>> 1 - Create a simple Scala application >>> 2 - Create a simple Java application >>> 3 - Create an empty project >>> <g8 template> - Create an app based on the g8 template hosted on Github
>>> > 2 >>> java.lang.NoSuchMethodError: >>> scalax.io.Input.string$default$1()Lscalax/io/Codec; >>> at play.console.Console$.replace(Console.scala:29) >>> at play.console.Console$.generateLocalTemplate(Console.scala:61) >>> at play.console.Console$.newCommand(Console.scala:133) >>> at >>> play.console.Console$$anonfun$10$$anonfun$apply$5.apply(Console.scala:182) >>> at >>> play.console.Console$$anonfun$10$$anonfun$apply$5.apply(Console.scala:182) >>> at play.console.Console$$anonfun$11.apply(Console.scala:185) >>> at play.console.Console$$anonfun$11.apply(Console.scala:184) >>> at scala.Option.map(Option.scala:133) >>> at play.console.Console$.main(Console.scala:184) >>> at play.console.Console.run(Console.scala:208) >>> at play.console.Console.run(Console.scala:205) >>> at xsbt.boot.Launch$.run(Launch.scala:55) >>> at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:45) >>> at xsbt.boot.Launch$.launch(Launch.scala:69) >>> 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: >>> scalax.io.Input.string$default$1()Lscalax/io/Codec;
>>> On Monday, October 8, 2012 10:33:54 AM UTC-7, peter hausel wrote:
>>>> I can not replicate this. Do you have a test case? Thanks Peter
>>>> On Monday, October 8, 2012 1:17:03 PM UTC-4, Ben McCann wrote:
>>>>> Exception in thread "main" java.lang.NoClassDefFoundError: scala/Right >>>>> at >>>>> org.specs2.runner.SpecsFramework.testRunner(TestInterfaceRunner.scala:18) >>>>> at >>>>> org.specs2.runner.SpecsFramework.testRunner(TestInterfaceRunner.scala:15) >>>>> at sbt.ForkMain$Run.run(ForkMain.java:130) >>>>> at sbt.ForkMain.main(ForkMain.java:70) >>>>> Caused by: java.lang.ClassNotFoundException: scala.Right >>>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:217) >>>>> at java.security.AccessController.doPrivileged(Native Method) >>>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:205) >>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:321) >>>>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) >>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:266) >>>>> ... 4 more
>> The new application will be created in /Users/phausel/x
>> What is the application name?
>> > x
>> Which template do you want to use for this new application?
>> 1 - Create a simple Scala application
>> 2 - Create a simple Java application
>> 3 - Create an empty project
>> <g8 template> - Create an app based on the g8 template hosted on Github
>> > 2
>> OK, application x is created.
>> Have fun!
>> --------------
>> On Monday, October 8, 2012 4:56:04 PM UTC-4, Ben McCann wrote:
>>> I was going to try to create a test case, but I'm afraid I can't get
>>> that far even :-) Do you have any trouble creating new projects?
>>> The new application will be created in /home/bmccann/src/tmp
>>> What is the application name?
>>> > tmp
>>> Which template do you want to use for this new application?
>>> 1 - Create a simple Scala application
>>> 2 - Create a simple Java application
>>> 3 - Create an empty project
>>> <g8 template> - Create an app based on the g8 template hosted on Github
>>> > 2
>>> java.lang.NoSuchMethodError: scalax.io.Input.string$**
>>> default$1()Lscalax/io/Codec;
>>> at play.console.Console$.replace(**Console.scala:29)
>>> at play.console.Console$.**generateLocalTemplate(Console.**scala:61)
>>> at play.console.Console$.**newCommand(Console.scala:133)
>>> at play.console.Console$$anonfun$**10$$anonfun$apply$5.apply(**
>>> Console.scala:182)
>>> at play.console.Console$$anonfun$**10$$anonfun$apply$5.apply(**
>>> Console.scala:182)
>>> at play.console.Console$$anonfun$**11.apply(Console.scala:185)
>>> at play.console.Console$$anonfun$**11.apply(Console.scala:184)
>>> at scala.Option.map(Option.scala:**133)
>>> at play.console.Console$.main(**Console.scala:184)
>>> at play.console.Console.run(**Console.scala:208)
>>> at play.console.Console.run(**Console.scala:205)
>>> at xsbt.boot.Launch$.run(Launch.**scala:55)
>>> at xsbt.boot.Launch$$anonfun$**explicit$1.apply(Launch.scala:**45)
>>> at xsbt.boot.Launch$.launch(**Launch.scala:69)
>>> 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:
>>> scalax.io.Input.string$**default$1()Lscalax/io/Codec;
>>> On Monday, October 8, 2012 10:33:54 AM UTC-7, peter hausel wrote:
>>>> I can not replicate this. Do you have a test case? Thanks Peter
>>>> On Monday, October 8, 2012 1:17:03 PM UTC-4, Ben McCann wrote:
>>>>> Exception in thread "main" java.lang.**NoClassDefFoundError:
>>>>> scala/Right
>>>>> at org.specs2.runner.**SpecsFramework.testRunner(**
>>>>> TestInterfaceRunner.scala:18)
>>>>> at org.specs2.runner.**SpecsFramework.testRunner(**
>>>>> TestInterfaceRunner.scala:15)
>>>>> at sbt.ForkMain$Run.run(ForkMain.**java:130)
>>>>> at sbt.ForkMain.main(ForkMain.**java:70)
>>>>> Caused by: java.lang.**ClassNotFoundException: scala.Right
>>>>> at java.net.URLClassLoader$1.run(**URLClassLoader.java:217)
>>>>> at java.security.**AccessController.doPrivileged(**Native Method)
>>>>> at java.net.URLClassLoader.**findClass(URLClassLoader.java:**205)
>>>>> at java.lang.ClassLoader.**loadClass(ClassLoader.java:**321)
>>>>> at sun.misc.Launcher$**AppClassLoader.loadClass(**Launcher.java:294)
>>>>> at java.lang.ClassLoader.**loadClass(ClassLoader.java:**266)
>>>>> ... 4 more
> To post to this group, send email to play-framework@googlegroups.com.
> To unsubscribe from this group, send email to
> play-framework+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/play-framework?hl=en.
pascal.voitot....@gmail.com> wrote:
> I had the same problem with SBT alone outside Play with Scala 2.10-M7.
> Apparently it's a problem of Specs2 version.
> After some time on the web, I found a solution. I added the following dep
> to my project:
> "org.specs2" % "specs2_2.10.0-M7" % "1.12.1.1" % "test",
> what version of Specs2 do you use in your project?
> Pascal
> On Mon, Oct 8, 2012 at 11:25 PM, peter hausel <peter.hau...@gmail.com>wrote:
>> which version of play are you on? (I am on the latest master)
>> On Monday, October 8, 2012 5:22:34 PM UTC-4, peter hausel wrote:
>>> hmm, seems to work for me:
>>> ------------------------------**----------------
>>> $ play new x
>>> _ _
>>> _ __ | | __ _ _ _| |
>>> | '_ \| |/ _' | || |_|
>>> | __/|_|\____|\__ (_)
>>> |_| |__/
>>> The new application will be created in /Users/phausel/x
>>> What is the application name?
>>> > x
>>> Which template do you want to use for this new application?
>>> 1 - Create a simple Scala application
>>> 2 - Create a simple Java application
>>> 3 - Create an empty project
>>> <g8 template> - Create an app based on the g8 template hosted on Github
>>> > 2
>>> OK, application x is created.
>>> Have fun!
>>> --------------
>>> On Monday, October 8, 2012 4:56:04 PM UTC-4, Ben McCann wrote:
>>>> I was going to try to create a test case, but I'm afraid I can't get
>>>> that far even :-) Do you have any trouble creating new projects?
>>>> The new application will be created in /home/bmccann/src/tmp
>>>> What is the application name?
>>>> > tmp
>>>> Which template do you want to use for this new application?
>>>> 1 - Create a simple Scala application
>>>> 2 - Create a simple Java application
>>>> 3 - Create an empty project
>>>> <g8 template> - Create an app based on the g8 template hosted on
>>>> Github
>>>> > 2
>>>> java.lang.NoSuchMethodError: scalax.io.Input.string$**
>>>> default$1()Lscalax/io/Codec;
>>>> at play.console.Console$.replace(**Console.scala:29)
>>>> at play.console.Console$.**generateLocalTemplate(Console.**scala:61)
>>>> at play.console.Console$.**newCommand(Console.scala:133)
>>>> at play.console.Console$$anonfun$**10$$anonfun$apply$5.apply(**
>>>> Console.scala:182)
>>>> at play.console.Console$$anonfun$**10$$anonfun$apply$5.apply(**
>>>> Console.scala:182)
>>>> at play.console.Console$$anonfun$**11.apply(Console.scala:185)
>>>> at play.console.Console$$anonfun$**11.apply(Console.scala:184)
>>>> at scala.Option.map(Option.scala:**133)
>>>> at play.console.Console$.main(**Console.scala:184)
>>>> at play.console.Console.run(**Console.scala:208)
>>>> at play.console.Console.run(**Console.scala:205)
>>>> at xsbt.boot.Launch$.run(Launch.**scala:55)
>>>> at xsbt.boot.Launch$$anonfun$**explicit$1.apply(Launch.scala:**45)
>>>> at xsbt.boot.Launch$.launch(**Launch.scala:69)
>>>> 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:
>>>> scalax.io.Input.string$**default$1()Lscalax/io/Codec;
>>>> On Monday, October 8, 2012 10:33:54 AM UTC-7, peter hausel wrote:
>>>>> I can not replicate this. Do you have a test case? Thanks Peter
>>>>> On Monday, October 8, 2012 1:17:03 PM UTC-4, Ben McCann wrote:
>>>>>> Exception in thread "main" java.lang.**NoClassDefFoundError:
>>>>>> scala/Right
>>>>>> at org.specs2.runner.**SpecsFramework.testRunner(**
>>>>>> TestInterfaceRunner.scala:18)
>>>>>> at org.specs2.runner.**SpecsFramework.testRunner(**
>>>>>> TestInterfaceRunner.scala:15)
>>>>>> at sbt.ForkMain$Run.run(ForkMain.**java:130)
>>>>>> at sbt.ForkMain.main(ForkMain.**java:70)
>>>>>> Caused by: java.lang.**ClassNotFoundException: scala.Right
>>>>>> at java.net.URLClassLoader$1.run(**URLClassLoader.java:217)
>>>>>> at java.security.**AccessController.doPrivileged(**Native Method)
>>>>>> at java.net.URLClassLoader.**findClass(URLClassLoader.java:**205)
>>>>>> at java.lang.ClassLoader.**loadClass(ClassLoader.java:**321)
>>>>>> at sun.misc.Launcher$**AppClassLoader.loadClass(**Launcher.java:294)
>>>>>> at java.lang.ClassLoader.**loadClass(ClassLoader.java:**266)
>>>>>> ... 4 more
>> To post to this group, send email to play-framework@googlegroups.com.
>> To unsubscribe from this group, send email to
>> play-framework+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/play-framework?hl=en.
> --
> You received this message because you are subscribed to the Google Groups
> "play-framework" group.
> To post to this group, send email to play-framework@googlegroups.com.
> To unsubscribe from this group, send email to
> play-framework+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/play-framework?hl=en.
On Mon, Oct 8, 2012 at 3:15 PM, Ben McCann <b...@benmccann.com> wrote:
> I'm just using the default Play dependencies. I haven't changed anything.
> On Mon, Oct 8, 2012 at 2:52 PM, Pascal Voitot Dev <
> pascal.voitot....@gmail.com> wrote:
>> I had the same problem with SBT alone outside Play with Scala 2.10-M7.
>> Apparently it's a problem of Specs2 version.
>> After some time on the web, I found a solution. I added the following dep
>> to my project:
>> "org.specs2" % "specs2_2.10.0-M7" % "1.12.1.1" % "test",
>> what version of Specs2 do you use in your project?
>> Pascal
>> On Mon, Oct 8, 2012 at 11:25 PM, peter hausel <peter.hau...@gmail.com>wrote:
>>> which version of play are you on? (I am on the latest master)
>>> On Monday, October 8, 2012 5:22:34 PM UTC-4, peter hausel wrote:
>>>> hmm, seems to work for me:
>>>> ------------------------------**----------------
>>>> $ play new x
>>>> _ _
>>>> _ __ | | __ _ _ _| |
>>>> | '_ \| |/ _' | || |_|
>>>> | __/|_|\____|\__ (_)
>>>> |_| |__/
>>>> The new application will be created in /Users/phausel/x
>>>> What is the application name?
>>>> > x
>>>> Which template do you want to use for this new application?
>>>> 1 - Create a simple Scala application
>>>> 2 - Create a simple Java application
>>>> 3 - Create an empty project
>>>> <g8 template> - Create an app based on the g8 template hosted on
>>>> Github
>>>> > 2
>>>> OK, application x is created.
>>>> Have fun!
>>>> --------------
>>>> On Monday, October 8, 2012 4:56:04 PM UTC-4, Ben McCann wrote:
>>>>> I was going to try to create a test case, but I'm afraid I can't get
>>>>> that far even :-) Do you have any trouble creating new projects?
>>>>> The new application will be created in /home/bmccann/src/tmp
>>>>> What is the application name?
>>>>> > tmp
>>>>> Which template do you want to use for this new application?
>>>>> 1 - Create a simple Scala application
>>>>> 2 - Create a simple Java application
>>>>> 3 - Create an empty project
>>>>> <g8 template> - Create an app based on the g8 template hosted on
>>>>> Github
>>>>> > 2
>>>>> java.lang.NoSuchMethodError: scalax.io.Input.string$**
>>>>> default$1()Lscalax/io/Codec;
>>>>> at play.console.Console$.replace(**Console.scala:29)
>>>>> at play.console.Console$.**generateLocalTemplate(Console.**scala:61)
>>>>> at play.console.Console$.**newCommand(Console.scala:133)
>>>>> at play.console.Console$$anonfun$**10$$anonfun$apply$5.apply(**
>>>>> Console.scala:182)
>>>>> at play.console.Console$$anonfun$**10$$anonfun$apply$5.apply(**
>>>>> Console.scala:182)
>>>>> at play.console.Console$$anonfun$**11.apply(Console.scala:185)
>>>>> at play.console.Console$$anonfun$**11.apply(Console.scala:184)
>>>>> at scala.Option.map(Option.scala:**133)
>>>>> at play.console.Console$.main(**Console.scala:184)
>>>>> at play.console.Console.run(**Console.scala:208)
>>>>> at play.console.Console.run(**Console.scala:205)
>>>>> at xsbt.boot.Launch$.run(Launch.**scala:55)
>>>>> at xsbt.boot.Launch$$anonfun$**explicit$1.apply(Launch.scala:**45)
>>>>> at xsbt.boot.Launch$.launch(**Launch.scala:69)
>>>>> 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:
>>>>> scalax.io.Input.string$**default$1()Lscalax/io/Codec;
>>>>> On Monday, October 8, 2012 10:33:54 AM UTC-7, peter hausel wrote:
>>>>>> I can not replicate this. Do you have a test case? Thanks Peter
>>>>>> On Monday, October 8, 2012 1:17:03 PM UTC-4, Ben McCann wrote:
>>>>>>> Exception in thread "main" java.lang.**NoClassDefFoundError:
>>>>>>> scala/Right
>>>>>>> at org.specs2.runner.**SpecsFramework.testRunner(**
>>>>>>> TestInterfaceRunner.scala:18)
>>>>>>> at org.specs2.runner.**SpecsFramework.testRunner(**
>>>>>>> TestInterfaceRunner.scala:15)
>>>>>>> at sbt.ForkMain$Run.run(ForkMain.**java:130)
>>>>>>> at sbt.ForkMain.main(ForkMain.**java:70)
>>>>>>> Caused by: java.lang.**ClassNotFoundException: scala.Right
>>>>>>> at java.net.URLClassLoader$1.run(**URLClassLoader.java:217)
>>>>>>> at java.security.**AccessController.doPrivileged(**Native Method)
>>>>>>> at java.net.URLClassLoader.**findClass(URLClassLoader.java:**205)
>>>>>>> at java.lang.ClassLoader.**loadClass(ClassLoader.java:**321)
>>>>>>> at sun.misc.Launcher$**AppClassLoader.loadClass(**Launcher.java:294)
>>>>>>> at java.lang.ClassLoader.**loadClass(ClassLoader.java:**266)
>>>>>>> ... 4 more
>>> To post to this group, send email to play-framework@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> play-framework+unsubscribe@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/play-framework?hl=en.
>> --
>> You received this message because you are subscribed to the Google Groups
>> "play-framework" group.
>> To post to this group, send email to play-framework@googlegroups.com.
>> To unsubscribe from this group, send email to
>> play-framework+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/play-framework?hl=en.
Here's what happens if I run "dependencies". Do you have any idea why it
thinks my project is using Scala 2.9.2 instead of 2.10?
[connectifier] $ dependencies
[warn] Binary version (2.10) for dependency
org.scala-lang#scala-library;2.10.0-M7
[warn] in connectifier#connectifier_2.9.2;1.0-SNAPSHOT differs from Scala
binary version in project (2.9.2).
[info] :: delivering :: connectifier#connectifier_2.9.2;1.0-SNAPSHOT ::
1.0-SNAPSHOT :: integration :: Mon Oct 08 15:27:58 PDT 2012
[info] delivering ivy file to
/home/bmccann/src/connectifier/frontend/target/scala-2.9.2/ivy-1.0-SNAPSHOT .xml
[error] (connectifier/*:ivy-dependencies) java.io.FileNotFoundException:
/home/bmccann/src/connectifier/frontend/target/resolution-cache/reports/con nectifier-connectifier_2.10.0-M7/runtime-resolved.xml
(No such file or directory)
On Mon, Oct 8, 2012 at 3:27 PM, Ben McCann <b...@benmccann.com> wrote:
> Looks like I'm not alone in having this problem. I just found another
> thread with several people complaining about not being able to run "play
> new"
> On Mon, Oct 8, 2012 at 3:15 PM, Ben McCann <b...@benmccann.com> wrote:
>> I'm just using the default Play dependencies. I haven't changed anything.
>> On Mon, Oct 8, 2012 at 2:52 PM, Pascal Voitot Dev <
>> pascal.voitot....@gmail.com> wrote:
>>> I had the same problem with SBT alone outside Play with Scala 2.10-M7.
>>> Apparently it's a problem of Specs2 version.
>>> After some time on the web, I found a solution. I added the following
>>> dep to my project:
>>> "org.specs2" % "specs2_2.10.0-M7" % "1.12.1.1" % "test",
>>> what version of Specs2 do you use in your project?
>>> Pascal
>>> On Mon, Oct 8, 2012 at 11:25 PM, peter hausel <peter.hau...@gmail.com>wrote:
>>>> which version of play are you on? (I am on the latest master)
>>>> On Monday, October 8, 2012 5:22:34 PM UTC-4, peter hausel wrote:
>>>>> hmm, seems to work for me:
>>>>> ------------------------------**----------------
>>>>> $ play new x
>>>>> _ _
>>>>> _ __ | | __ _ _ _| |
>>>>> | '_ \| |/ _' | || |_|
>>>>> | __/|_|\____|\__ (_)
>>>>> |_| |__/
>>>>> The new application will be created in /Users/phausel/x
>>>>> What is the application name?
>>>>> > x
>>>>> Which template do you want to use for this new application?
>>>>> 1 - Create a simple Scala application
>>>>> 2 - Create a simple Java application
>>>>> 3 - Create an empty project
>>>>> <g8 template> - Create an app based on the g8 template hosted on
>>>>> Github
>>>>> > 2
>>>>> OK, application x is created.
>>>>> Have fun!
>>>>> --------------
>>>>> On Monday, October 8, 2012 4:56:04 PM UTC-4, Ben McCann wrote:
>>>>>> I was going to try to create a test case, but I'm afraid I can't get
>>>>>> that far even :-) Do you have any trouble creating new projects?
>>>>>> The new application will be created in /home/bmccann/src/tmp
>>>>>> What is the application name?
>>>>>> > tmp
>>>>>> Which template do you want to use for this new application?
>>>>>> 1 - Create a simple Scala application
>>>>>> 2 - Create a simple Java application
>>>>>> 3 - Create an empty project
>>>>>> <g8 template> - Create an app based on the g8 template hosted on
>>>>>> Github
>>>>>> > 2
>>>>>> java.lang.NoSuchMethodError: scalax.io.Input.string$**
>>>>>> default$1()Lscalax/io/Codec;
>>>>>> at play.console.Console$.replace(**Console.scala:29)
>>>>>> at play.console.Console$.**generateLocalTemplate(Console.**scala:61)
>>>>>> at play.console.Console$.**newCommand(Console.scala:133)
>>>>>> at play.console.Console$$anonfun$**10$$anonfun$apply$5.apply(**
>>>>>> Console.scala:182)
>>>>>> at play.console.Console$$anonfun$**10$$anonfun$apply$5.apply(**
>>>>>> Console.scala:182)
>>>>>> at play.console.Console$$anonfun$**11.apply(Console.scala:185)
>>>>>> at play.console.Console$$anonfun$**11.apply(Console.scala:184)
>>>>>> at scala.Option.map(Option.scala:**133)
>>>>>> at play.console.Console$.main(**Console.scala:184)
>>>>>> at play.console.Console.run(**Console.scala:208)
>>>>>> at play.console.Console.run(**Console.scala:205)
>>>>>> at xsbt.boot.Launch$.run(Launch.**scala:55)
>>>>>> at xsbt.boot.Launch$$anonfun$**explicit$1.apply(Launch.scala:**45)
>>>>>> at xsbt.boot.Launch$.launch(**Launch.scala:69)
>>>>>> 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:
>>>>>> scalax.io.Input.string$**default$1()Lscalax/io/Codec;
>>>>>> On Monday, October 8, 2012 10:33:54 AM UTC-7, peter hausel wrote:
>>>>>>> I can not replicate this. Do you have a test case? Thanks Peter
>>>>>>> On Monday, October 8, 2012 1:17:03 PM UTC-4, Ben McCann wrote:
>>>>>>>> Exception in thread "main" java.lang.**NoClassDefFoundError:
>>>>>>>> scala/Right
>>>>>>>> at org.specs2.runner.**SpecsFramework.testRunner(**
>>>>>>>> TestInterfaceRunner.scala:18)
>>>>>>>> at org.specs2.runner.**SpecsFramework.testRunner(**
>>>>>>>> TestInterfaceRunner.scala:15)
>>>>>>>> at sbt.ForkMain$Run.run(ForkMain.**java:130)
>>>>>>>> at sbt.ForkMain.main(ForkMain.**java:70)
>>>>>>>> Caused by: java.lang.**ClassNotFoundException: scala.Right
>>>>>>>> at java.net.URLClassLoader$1.run(**URLClassLoader.java:217)
>>>>>>>> at java.security.**AccessController.doPrivileged(**Native Method)
>>>>>>>> at java.net.URLClassLoader.**findClass(URLClassLoader.java:**205)
>>>>>>>> at java.lang.ClassLoader.**loadClass(ClassLoader.java:**321)
>>>>>>>> at sun.misc.Launcher$**AppClassLoader.loadClass(**
>>>>>>>> Launcher.java:294)
>>>>>>>> at java.lang.ClassLoader.**loadClass(ClassLoader.java:**266)
>>>>>>>> ... 4 more
>>>> To post to this group, send email to play-framework@googlegroups.com.
>>>> To unsubscribe from this group, send email to
>>>> play-framework+unsubscribe@googlegroups.com.
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/play-framework?hl=en.
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "play-framework" group.
>>> To post to this group, send email to play-framework@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> play-framework+unsubscribe@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/play-framework?hl=en.
I see not that I'm getting a similar warning when I run "play test" though
I'm not sure what the cause is.
[warn] Binary version (2.10) for dependency
org.scala-lang#scala-library;2.10.0-M7
[warn] in connectifier#connectifier_2.9.2;1.0-SNAPSHOT differs from Scala
binary version in project (2.9.2).
On Mon, Oct 8, 2012 at 3:29 PM, Ben McCann <b...@benmccann.com> wrote:
> Here's what happens if I run "dependencies". Do you have any idea why it
> thinks my project is using Scala 2.9.2 instead of 2.10?
> [connectifier] $ dependencies
> [warn] Binary version (2.10) for dependency
> org.scala-lang#scala-library;2.10.0-M7
> [warn] in connectifier#connectifier_2.9.2;1.0-SNAPSHOT differs from Scala
> binary version in project (2.9.2).
> [info] :: delivering :: connectifier#connectifier_2.9.2;1.0-SNAPSHOT ::
> 1.0-SNAPSHOT :: integration :: Mon Oct 08 15:27:58 PDT 2012
> [info] delivering ivy file to
> /home/bmccann/src/connectifier/frontend/target/scala-2.9.2/ivy-1.0-SNAPSHOT .xml
> [error] (connectifier/*:ivy-dependencies) java.io.FileNotFoundException:
> /home/bmccann/src/connectifier/frontend/target/resolution-cache/reports/con nectifier-connectifier_2.10.0-M7/runtime-resolved.xml
> (No such file or directory)
> Cannot compute dependencies
> On Mon, Oct 8, 2012 at 3:27 PM, Ben McCann <b...@benmccann.com> wrote:
>> Looks like I'm not alone in having this problem. I just found another
>> thread with several people complaining about not being able to run "play
>> new"
>> On Mon, Oct 8, 2012 at 3:15 PM, Ben McCann <b...@benmccann.com> wrote:
>>> I'm just using the default Play dependencies. I haven't changed
>>> anything.
>>> On Mon, Oct 8, 2012 at 2:52 PM, Pascal Voitot Dev <
>>> pascal.voitot....@gmail.com> wrote:
>>>> I had the same problem with SBT alone outside Play with Scala 2.10-M7.
>>>> Apparently it's a problem of Specs2 version.
>>>> After some time on the web, I found a solution. I added the following
>>>> dep to my project:
>>>> "org.specs2" % "specs2_2.10.0-M7" % "1.12.1.1" % "test",
>>>> what version of Specs2 do you use in your project?
>>>> Pascal
>>>> On Mon, Oct 8, 2012 at 11:25 PM, peter hausel <peter.hau...@gmail.com>wrote:
>>>>> which version of play are you on? (I am on the latest master)
>>>>> On Monday, October 8, 2012 5:22:34 PM UTC-4, peter hausel wrote:
>>>>>> hmm, seems to work for me:
>>>>>> ------------------------------**----------------
>>>>>> $ play new x
>>>>>> _ _
>>>>>> _ __ | | __ _ _ _| |
>>>>>> | '_ \| |/ _' | || |_|
>>>>>> | __/|_|\____|\__ (_)
>>>>>> |_| |__/
>>>>>> The new application will be created in /Users/phausel/x
>>>>>> What is the application name?
>>>>>> > x
>>>>>> Which template do you want to use for this new application?
>>>>>> 1 - Create a simple Scala application
>>>>>> 2 - Create a simple Java application
>>>>>> 3 - Create an empty project
>>>>>> <g8 template> - Create an app based on the g8 template hosted on
>>>>>> Github
>>>>>> > 2
>>>>>> OK, application x is created.
>>>>>> Have fun!
>>>>>> --------------
>>>>>> On Monday, October 8, 2012 4:56:04 PM UTC-4, Ben McCann wrote:
>>>>>>> I was going to try to create a test case, but I'm afraid I can't get
>>>>>>> that far even :-) Do you have any trouble creating new projects?
>>>>>>> The new application will be created in /home/bmccann/src/tmp
>>>>>>> What is the application name?
>>>>>>> > tmp
>>>>>>> Which template do you want to use for this new application?
>>>>>>> 1 - Create a simple Scala application
>>>>>>> 2 - Create a simple Java application
>>>>>>> 3 - Create an empty project
>>>>>>> <g8 template> - Create an app based on the g8 template hosted on
>>>>>>> Github
>>>>>>> > 2
>>>>>>> java.lang.NoSuchMethodError: scalax.io.Input.string$**
>>>>>>> default$1()Lscalax/io/Codec;
>>>>>>> at play.console.Console$.replace(**Console.scala:29)
>>>>>>> at play.console.Console$.**generateLocalTemplate(Console.**
>>>>>>> scala:61)
>>>>>>> at play.console.Console$.**newCommand(Console.scala:133)
>>>>>>> at play.console.Console$$anonfun$**10$$anonfun$apply$5.apply(**
>>>>>>> Console.scala:182)
>>>>>>> at play.console.Console$$anonfun$**10$$anonfun$apply$5.apply(**
>>>>>>> Console.scala:182)
>>>>>>> at play.console.Console$$anonfun$**11.apply(Console.scala:185)
>>>>>>> at play.console.Console$$anonfun$**11.apply(Console.scala:184)
>>>>>>> at scala.Option.map(Option.scala:**133)
>>>>>>> at play.console.Console$.main(**Console.scala:184)
>>>>>>> at play.console.Console.run(**Console.scala:208)
>>>>>>> at play.console.Console.run(**Console.scala:205)
>>>>>>> at xsbt.boot.Launch$.run(Launch.**scala:55)
>>>>>>> at xsbt.boot.Launch$$anonfun$**explicit$1.apply(Launch.scala:**45)
>>>>>>> at xsbt.boot.Launch$.launch(**Launch.scala:69)
>>>>>>> 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:
>>>>>>> scalax.io.Input.string$**default$1()Lscalax/io/Codec;
>>>>>>> On Monday, October 8, 2012 10:33:54 AM UTC-7, peter hausel wrote:
>>>>>>>> I can not replicate this. Do you have a test case? Thanks Peter
>>>>>>>> On Monday, October 8, 2012 1:17:03 PM UTC-4, Ben McCann wrote:
>>>>>>>>> Exception in thread "main" java.lang.**NoClassDefFoundError:
>>>>>>>>> scala/Right
>>>>>>>>> at org.specs2.runner.**SpecsFramework.testRunner(**
>>>>>>>>> TestInterfaceRunner.scala:18)
>>>>>>>>> at org.specs2.runner.**SpecsFramework.testRunner(**
>>>>>>>>> TestInterfaceRunner.scala:15)
>>>>>>>>> at sbt.ForkMain$Run.run(ForkMain.**java:130)
>>>>>>>>> at sbt.ForkMain.main(ForkMain.**java:70)
>>>>>>>>> Caused by: java.lang.**ClassNotFoundException: scala.Right
>>>>>>>>> at java.net.URLClassLoader$1.run(**URLClassLoader.java:217)
>>>>>>>>> at java.security.**AccessController.doPrivileged(**Native Method)
>>>>>>>>> at java.net.URLClassLoader.**findClass(URLClassLoader.java:**205)
>>>>>>>>> at java.lang.ClassLoader.**loadClass(ClassLoader.java:**321)
>>>>>>>>> at sun.misc.Launcher$**AppClassLoader.loadClass(**
>>>>>>>>> Launcher.java:294)
>>>>>>>>> at java.lang.ClassLoader.**loadClass(ClassLoader.java:**266)
>>>>>>>>> ... 4 more
>>>>> To post to this group, send email to play-framework@googlegroups.com.
>>>>> To unsubscribe from this group, send email to
>>>>> play-framework+unsubscribe@googlegroups.com.
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/play-framework?hl=en.
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "play-framework" group.
>>>> To post to this group, send email to play-framework@googlegroups.com.
>>>> To unsubscribe from this group, send email to
>>>> play-framework+unsubscribe@googlegroups.com.
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/play-framework?hl=en.
It's surprising to me that it would have been broken for two months without anyone noticing, but then again I very rarely run "play new" since I only am developing on one project and not developing new ones. It could possibly be some type of strange caching issue, but this seems more likely to be the case on your end than mine since I completely deleted my play installation and did a fresh "git clone".
On Monday, October 8, 2012 3:49:41 PM UTC-7, Ben McCann wrote:
> I'm not really sure what's using Scala 2.9.2 and what's using Scala 2.10. > sbteclipse is not released yet for Scala 2.10, so clearly not everything > is using Scala 2.10.
> I see not that I'm getting a similar warning when I run "play test" though > I'm not sure what the cause is. > [warn] Binary version (2.10) for dependency > org.scala-lang#scala-library;2.10.0-M7 > [warn] in connectifier#connectifier_2.9.2;1.0-SNAPSHOT differs from Scala > binary version in project (2.9.2).
> "play new" is still not working for me either
> On Mon, Oct 8, 2012 at 3:29 PM, Ben McCann <b...@benmccann.com> wrote:
>> Here's what happens if I run "dependencies". Do you have any idea why it >> thinks my project is using Scala 2.9.2 instead of 2.10?
>> [connectifier] $ dependencies >> [warn] Binary version (2.10) for dependency >> org.scala-lang#scala-library;2.10.0-M7 >> [warn] in connectifier#connectifier_2.9.2;1.0-SNAPSHOT differs from >> Scala binary version in project (2.9.2). >> [info] :: delivering :: connectifier#connectifier_2.9.2;1.0-SNAPSHOT :: >> 1.0-SNAPSHOT :: integration :: Mon Oct 08 15:27:58 PDT 2012 >> [info] delivering ivy file to >> /home/bmccann/src/connectifier/frontend/target/scala-2.9.2/ivy-1.0-SNAPSHOT .xml >> [error] (connectifier/*:ivy-dependencies) java.io.FileNotFoundException: >> /home/bmccann/src/connectifier/frontend/target/resolution-cache/reports/con nectifier-connectifier_2.10.0-M7/runtime-resolved.xml >> (No such file or directory)
>> Cannot compute dependencies
>> On Mon, Oct 8, 2012 at 3:27 PM, Ben McCann <b...@benmccann.com> wrote:
>>> Looks like I'm not alone in having this problem. I just found another >>> thread with several people complaining about not being able to run "play >>> new"
>>> On Mon, Oct 8, 2012 at 3:15 PM, Ben McCann <b...@benmccann.com> wrote:
>>>> I'm just using the default Play dependencies. I haven't changed >>>> anything.
>>>> On Mon, Oct 8, 2012 at 2:52 PM, Pascal Voitot Dev < >>>> pascal.voitot....@gmail.com> wrote:
>>>>> I had the same problem with SBT alone outside Play with Scala 2.10-M7. >>>>> Apparently it's a problem of Specs2 version.
>>>>> After some time on the web, I found a solution. I added the following >>>>> dep to my project: >>>>> "org.specs2" % "specs2_2.10.0-M7" % "1.12.1.1" % "test",
>>>>> what version of Specs2 do you use in your project?
>>>>> Pascal
>>>>> On Mon, Oct 8, 2012 at 11:25 PM, peter hausel <peter.hau...@gmail.com>wrote:
>>>>>> which version of play are you on? (I am on the latest master)
>>>>>> On Monday, October 8, 2012 5:22:34 PM UTC-4, peter hausel wrote:
>>>>>>> hmm, seems to work for me: >>>>>>> ------------------------------**---------------- >>>>>>> $ play new x >>>>>>> _ _ >>>>>>> _ __ | | __ _ _ _| | >>>>>>> | '_ \| |/ _' | || |_| >>>>>>> | __/|_|\____|\__ (_) >>>>>>> |_| |__/
>>>>>>> The new application will be created in /Users/phausel/x
>>>>>>> What is the application name? >>>>>>> > x
>>>>>>> Which template do you want to use for this new application?
>>>>>>> 1 - Create a simple Scala application >>>>>>> 2 - Create a simple Java application >>>>>>> 3 - Create an empty project >>>>>>> <g8 template> - Create an app based on the g8 template hosted on >>>>>>> Github
>>>>>>> > 2 >>>>>>> OK, application x is created.
>>>>>>> Have fun! >>>>>>> --------------
>>>>>>> On Monday, October 8, 2012 4:56:04 PM UTC-4, Ben McCann wrote:
>>>>>>>> I was going to try to create a test case, but I'm afraid I can't >>>>>>>> get that far even :-) Do you have any trouble creating new projects?
>>>>>>>> The new application will be created in /home/bmccann/src/tmp
>>>>>>>> What is the application name? >>>>>>>> > tmp
>>>>>>>> Which template do you want to use for this new application?
>>>>>>>> 1 - Create a simple Scala application >>>>>>>> 2 - Create a simple Java application >>>>>>>> 3 - Create an empty project >>>>>>>> <g8 template> - Create an app based on the g8 template hosted on >>>>>>>> Github
>>>>>>>> > 2 >>>>>>>> java.lang.NoSuchMethodError: scalax.io.Input.string$** >>>>>>>> default$1()Lscalax/io/Codec; >>>>>>>> at play.console.Console$.replace(**Console.scala:29) >>>>>>>> at play.console.Console$.**generateLocalTemplate(Console.** >>>>>>>> scala:61) >>>>>>>> at play.console.Console$.**newCommand(Console.scala:133) >>>>>>>> at play.console.Console$$anonfun$**10$$anonfun$apply$5.apply(** >>>>>>>> Console.scala:182) >>>>>>>> at play.console.Console$$anonfun$**10$$anonfun$apply$5.apply(** >>>>>>>> Console.scala:182) >>>>>>>> at play.console.Console$$anonfun$**11.apply(Console.scala:185) >>>>>>>> at play.console.Console$$anonfun$**11.apply(Console.scala:184) >>>>>>>> at scala.Option.map(Option.scala:**133) >>>>>>>> at play.console.Console$.main(**Console.scala:184) >>>>>>>> at play.console.Console.run(**Console.scala:208) >>>>>>>> at play.console.Console.run(**Console.scala:205) >>>>>>>> at xsbt.boot.Launch$.run(Launch.**scala:55) >>>>>>>> at xsbt.boot.Launch$$anonfun$**explicit$1.apply(Launch.scala:**45) >>>>>>>> at xsbt.boot.Launch$.launch(**Launch.scala:69) >>>>>>>> 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: >>>>>>>> scalax.io.Input.string$**default$1()Lscalax/io/Codec;
>>>>>>>> On Monday, October 8, 2012 10:33:54 AM UTC-7, peter hausel wrote:
>>>>>>>>> I can not replicate this. Do you have a test case? Thanks Peter
>>>>>>>>> On Monday, October 8, 2012 1:17:03 PM UTC-4, Ben McCann wrote:
>>>>>>>>>> Exception in thread "main" java.lang.**NoClassDefFoundError: >>>>>>>>>> scala/Right >>>>>>>>>> at org.specs2.runner.**SpecsFramework.testRunner(** >>>>>>>>>> TestInterfaceRunner.scala:18) >>>>>>>>>> at org.specs2.runner.**SpecsFramework.testRunner(** >>>>>>>>>> TestInterfaceRunner.scala:15) >>>>>>>>>> at sbt.ForkMain$Run.run(ForkMain.**java:130) >>>>>>>>>> at sbt.ForkMain.main(ForkMain.**java:70) >>>>>>>>>> Caused by: java.lang.**ClassNotFoundException: scala.Right >>>>>>>>>> at java.net.URLClassLoader$1.run(**URLClassLoader.java:217) >>>>>>>>>> at java.security.**AccessController.doPrivileged(**Native >>>>>>>>>> Method) >>>>>>>>>> at java.net.URLClassLoader.**findClass(URLClassLoader.java:**205) >>>>>>>>>> at java.lang.ClassLoader.**loadClass(ClassLoader.java:**321) >>>>>>>>>> at sun.misc.Launcher$**AppClassLoader.loadClass(** >>>>>>>>>> Launcher.java:294) >>>>>>>>>> at java.lang.ClassLoader.**loadClass(ClassLoader.java:**266) >>>>>>>>>> ... 4 more
>>>>>> To post to this group, send email to play-framework@googlegroups.com. >>>>>> To unsubscribe from this group, send email to >>>>>> play-framework+unsubscribe@googlegroups.com. >>>>>> For more options, visit this group at >>>>>> http://groups.google.com/group/play-framework?hl=en.
>>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "play-framework" group. >>>>> To post to this group, send email to play-framework@googlegroups.com. >>>>> To unsubscribe from this group, send email to >>>>> play-framework+unsubscribe@googlegroups.com. >>>>> For more options, visit this group at >>>>> http://groups.google.com/group/play-framework?hl=en.
Maybe it has been broken for that long. A guy on the other
thread<https://groups.google.com/d/topic/play-framework/kUchK6RsG5U/discussion>just
responded that it's been broken for at least a couple of weeks for him
on several clean machines. Can you try again with a clean build? Maybe
delete the whole Play project and "git clone" again. That there's some
type of caching happening in your local repository is the only reason I can
think of as to why "play new" would work for you when it's broken for so
many others.
Thanks,
Ben
On Mon, Oct 8, 2012 at 5:02 PM, Ben McCann <benjamin.j.mcc...@gmail.com>wrote:
> It's surprising to me that it would have been broken for two months
> without anyone noticing, but then again I very rarely run "play new" since
> I only am developing on one project and not developing new ones. It could
> possibly be some type of strange caching issue, but this seems more likely
> to be the case on your end than mine since I completely deleted my play
> installation and did a fresh "git clone".
> -Ben
> On Monday, October 8, 2012 3:49:41 PM UTC-7, Ben McCann wrote:
>> I see not that I'm getting a similar warning when I run "play test"
>> though I'm not sure what the cause is.
>> [warn] Binary version (2.10) for dependency org.scala-lang#scala-library;
>> **2.10.0-M7
>> [warn] in connectifier#connectifier_2.9.**2;1.0-SNAPSHOT differs from
>> Scala binary version in project (2.9.2).
>> "play new" is still not working for me either
>> On Mon, Oct 8, 2012 at 3:29 PM, Ben McCann <b...@benmccann.com> wrote:
>>> Here's what happens if I run "dependencies". Do you have any idea why
>>> it thinks my project is using Scala 2.9.2 instead of 2.10?
>>> [connectifier] $ dependencies
>>> [warn] Binary version (2.10) for dependency org.scala-lang#scala-library;
>>> **2.10.0-M7
>>> [warn] in connectifier#connectifier_2.9.**2;1.0-SNAPSHOT differs from
>>> Scala binary version in project (2.9.2).
>>> [info] :: delivering :: connectifier#connectifier_2.9.**2;1.0-SNAPSHOT
>>> :: 1.0-SNAPSHOT :: integration :: Mon Oct 08 15:27:58 PDT 2012
>>> [info] delivering ivy file to /home/bmccann/src/**
>>> connectifier/frontend/target/**scala-2.9.2/ivy-1.0-SNAPSHOT.**xml
>>> [error] (connectifier/*:ivy-**dependencies)
>>> java.io.FileNotFoundException: /home/bmccann/src/**
>>> connectifier/frontend/target/**resolution-cache/reports/**
>>> connectifier-connectifier_2.**10.0-M7/runtime-resolved.xml (No such
>>> file or directory)
>>> Cannot compute dependencies
>>> On Mon, Oct 8, 2012 at 3:27 PM, Ben McCann <b...@benmccann.com> wrote:
>>>> On Mon, Oct 8, 2012 at 3:15 PM, Ben McCann <b...@benmccann.com> wrote:
>>>>> I'm just using the default Play dependencies. I haven't changed
>>>>> anything.
>>>>> On Mon, Oct 8, 2012 at 2:52 PM, Pascal Voitot Dev <
>>>>> pascal.voitot....@gmail.com> wrote:
>>>>>> I had the same problem with SBT alone outside Play with Scala 2.10-M7.
>>>>>> Apparently it's a problem of Specs2 version.
>>>>>> After some time on the web, I found a solution. I added the following
>>>>>> dep to my project:
>>>>>> "org.specs2" % "specs2_2.10.0-M7" % "1.12.1.1" % "test",
>>>>>> what version of Specs2 do you use in your project?
>>>>>> Pascal
>>>>>> On Mon, Oct 8, 2012 at 11:25 PM, peter hausel <peter.hau...@gmail.com
>>>>>> > wrote:
>>>>>>> which version of play are you on? (I am on the latest master)
>>>>>>> On Monday, October 8, 2012 5:22:34 PM UTC-4, peter hausel wrote:
>>>>>>>> hmm, seems to work for me:
>>>>>>>> ------------------------------****----------------
>>>>>>>> $ play new x
>>>>>>>> _ _
>>>>>>>> _ __ | | __ _ _ _| |
>>>>>>>> | '_ \| |/ _' | || |_|
>>>>>>>> | __/|_|\____|\__ (_)
>>>>>>>> |_| |__/
>>>>>>>> The new application will be created in /Users/phausel/x
>>>>>>>> What is the application name?
>>>>>>>> > x
>>>>>>>> Which template do you want to use for this new application?
>>>>>>>> 1 - Create a simple Scala application
>>>>>>>> 2 - Create a simple Java application
>>>>>>>> 3 - Create an empty project
>>>>>>>> <g8 template> - Create an app based on the g8 template hosted on
>>>>>>>> Github
>>>>>>>> > 2
>>>>>>>> OK, application x is created.
>>>>>>>> Have fun!
>>>>>>>> --------------
>>>>>>>> On Monday, October 8, 2012 4:56:04 PM UTC-4, Ben McCann wrote:
>>>>>>>>> I was going to try to create a test case, but I'm afraid I can't
>>>>>>>>> get that far even :-) Do you have any trouble creating new projects?
>>>>>>>>> The new application will be created in /home/bmccann/src/tmp
>>>>>>>>> What is the application name?
>>>>>>>>> > tmp
>>>>>>>>> Which template do you want to use for this new application?
>>>>>>>>> 1 - Create a simple Scala application
>>>>>>>>> 2 - Create a simple Java application
>>>>>>>>> 3 - Create an empty project
>>>>>>>>> <g8 template> - Create an app based on the g8 template hosted on
>>>>>>>>> Github
>>>>>>>>> > 2
>>>>>>>>> java.lang.NoSuchMethodError: scalax.io.Input.string$**default**
>>>>>>>>> $1()Lscalax/io/Codec;
>>>>>>>>> at play.console.Console$.replace(****Console.scala:29)
>>>>>>>>> at play.console.Console$.**generate**LocalTemplate(Console.**
>>>>>>>>> scala:**61)
>>>>>>>>> at play.console.Console$.**newComma**nd(Console.scala:133)
>>>>>>>>> at play.console.Console$$anonfun$****10$$anonfun$apply$5.apply(**
>>>>>>>>> Cons**ole.scala:182)
>>>>>>>>> at play.console.Console$$anonfun$****10$$anonfun$apply$5.apply(**
>>>>>>>>> Cons**ole.scala:182)
>>>>>>>>> at play.console.Console$$anonfun$****11.apply(Console.scala:185)
>>>>>>>>> at play.console.Console$$anonfun$****11.apply(Console.scala:184)
>>>>>>>>> at scala.Option.map(Option.scala:****133)
>>>>>>>>> at play.console.Console$.main(**Con**sole.scala:184)
>>>>>>>>> at play.console.Console.run(**Conso**le.scala:208)
>>>>>>>>> at play.console.Console.run(**Conso**le.scala:205)
>>>>>>>>> at xsbt.boot.Launch$.run(Launch.**s**cala:55)
>>>>>>>>> at xsbt.boot.Launch$$anonfun$**expl**icit$1.apply(Launch.scala:**
>>>>>>>>> 45)
>>>>>>>>> at xsbt.boot.Launch$.launch(**Launc**h.scala:69)
>>>>>>>>> at xsbt.boot.Launch$.apply(**Launch**.scala:16)
>>>>>>>>> at xsbt.boot.Boot$.runImpl(Boot.**s**cala:31)
>>>>>>>>> at xsbt.boot.Boot$.main(Boot.**scal**a:20)
>>>>>>>>> at xsbt.boot.Boot.main(Boot.**scala**)
>>>>>>>>> Error during sbt execution: java.lang.NoSuchMethodError:
>>>>>>>>> scalax.io.Input.string$**default**$1()Lscalax/io/Codec;
>>>>>>>>> On Monday, October 8, 2012 10:33:54 AM UTC-7, peter hausel wrote:
>>>>>>>>>> I can not replicate this. Do you have a test case? Thanks Peter
>>>>>>>>>> On Monday, October 8, 2012 1:17:03 PM UTC-4, Ben McCann wrote:
>>>>>>>>>>> Exception in thread "main" java.lang.**NoClassDefFoundError**:
>>>>>>>>>>> scala/Right
>>>>>>>>>>> at org.specs2.runner.**SpecsFramewo**rk.testRunner(**
>>>>>>>>>>> TestInterfaceRun**ner.scala:18)
>>>>>>>>>>> at org.specs2.runner.**SpecsFramewo**rk.testRunner(**
>>>>>>>>>>> TestInterfaceRun**ner.scala:15)
>>>>>>>>>>> at sbt.ForkMain$Run.run(ForkMain.****java:130)
>>>>>>>>>>> at sbt.ForkMain.main(ForkMain.**jav**a:70)
>>>>>>>>>>> Caused by: java.lang.**ClassNotFoundExcepti**on: scala.Right
>>>>>>>>>>> at java.net.URLClassLoader$1.run(****URLClassLoader.java:217)
>>>>>>>>>>> at java.security.**AccessController**.doPrivileged(**Native
>>>>>>>>>>> Method)
>>>>>>>>>>> at java.net.URLClassLoader.**findCl**ass(URLClassLoader.java:**
>>>>>>>>>>> 205)
>>>>>>>>>>> at java.lang.ClassLoader.**loadClas**s(ClassLoader.java:**321)
>>>>>>>>>>> at
to clarify: play's sbt plugin (and the plugins play is depending on) will stay on scala 2.9.2 but play core was moved to scala 2.10. The console jar is cached and stored at <playhome>sbt/boot/. After clearing my boot directory I started getting the error, so it's all good now (well not good, but we are on the same page at least).
On Monday, October 8, 2012 8:21:41 PM UTC-4, Ben McCann wrote:
> Maybe it has been broken for that long. A guy on the other thread<https://groups.google.com/d/topic/play-framework/kUchK6RsG5U/discussion>just responded that it's been broken for at least a couple of weeks for him > on several clean machines. Can you try again with a clean build? Maybe > delete the whole Play project and "git clone" again. That there's some > type of caching happening in your local repository is the only reason I can > think of as to why "play new" would work for you when it's broken for so > many others.
> Thanks, > Ben
> On Mon, Oct 8, 2012 at 5:02 PM, Ben McCann <benjamin...@gmail.com<javascript:> > > wrote:
>> I just spent the past couple of hours rebuilding Play on various CLs to >> see where "play new" broke.
>> It's surprising to me that it would have been broken for two months >> without anyone noticing, but then again I very rarely run "play new" since >> I only am developing on one project and not developing new ones. It could >> possibly be some type of strange caching issue, but this seems more likely >> to be the case on your end than mine since I completely deleted my play >> installation and did a fresh "git clone".
>> -Ben
>> On Monday, October 8, 2012 3:49:41 PM UTC-7, Ben McCann wrote:
>>> I see not that I'm getting a similar warning when I run "play test" >>> though I'm not sure what the cause is. >>> [warn] Binary version (2.10) for dependency org.scala-lang#scala-library; >>> **2.10.0-M7 >>> [warn] in connectifier#connectifier_2.9.**2;1.0-SNAPSHOT differs from >>> Scala binary version in project (2.9.2).
>>> "play new" is still not working for me either
>>> On Mon, Oct 8, 2012 at 3:29 PM, Ben McCann <b...@benmccann.com<javascript:> >>> > wrote:
>>>> Here's what happens if I run "dependencies". Do you have any idea why >>>> it thinks my project is using Scala 2.9.2 instead of 2.10?
>>>> [connectifier] $ dependencies >>>> [warn] Binary version (2.10) for dependency >>>> org.scala-lang#scala-library;**2.10.0-M7 >>>> [warn] in connectifier#connectifier_2.9.**2;1.0-SNAPSHOT differs from >>>> Scala binary version in project (2.9.2). >>>> [info] :: delivering :: connectifier#connectifier_2.9.**2;1.0-SNAPSHOT >>>> :: 1.0-SNAPSHOT :: integration :: Mon Oct 08 15:27:58 PDT 2012 >>>> [info] delivering ivy file to /home/bmccann/src/** >>>> connectifier/frontend/target/**scala-2.9.2/ivy-1.0-SNAPSHOT.**xml >>>> [error] (connectifier/*:ivy-**dependencies) >>>> java.io.FileNotFoundException: /home/bmccann/src/** >>>> connectifier/frontend/target/**resolution-cache/reports/** >>>> connectifier-connectifier_2.**10.0-M7/runtime-resolved.xml (No such >>>> file or directory)
>>>> Cannot compute dependencies
>>>> On Mon, Oct 8, 2012 at 3:27 PM, Ben McCann <b...@benmccann.com<javascript:> >>>> > wrote:
>>>>> On Mon, Oct 8, 2012 at 3:15 PM, Ben McCann <b...@benmccann.com<javascript:> >>>>> > wrote:
>>>>>> I'm just using the default Play dependencies. I haven't changed >>>>>> anything.
>>>>>> On Mon, Oct 8, 2012 at 2:52 PM, Pascal Voitot Dev < >>>>>> pascal.v...@gmail.com <javascript:>> wrote:
>>>>>>> I had the same problem with SBT alone outside Play with Scala >>>>>>> 2.10-M7. >>>>>>> Apparently it's a problem of Specs2 version.
>>>>>>> After some time on the web, I found a solution. I added the >>>>>>> following dep to my project: >>>>>>> "org.specs2" % "specs2_2.10.0-M7" % "1.12.1.1" % "test",
>>>>>>> what version of Specs2 do you use in your project?
>>>>>>> Pascal
>>>>>>> On Mon, Oct 8, 2012 at 11:25 PM, peter hausel <peter....@gmail.com<javascript:> >>>>>>> > wrote:
>>>>>>>> which version of play are you on? (I am on the latest master)
>>>>>>>> On Monday, October 8, 2012 5:22:34 PM UTC-4, peter hausel wrote:
>>>>>>>>> hmm, seems to work for me: >>>>>>>>> ------------------------------****---------------- >>>>>>>>> $ play new x >>>>>>>>> _ _ >>>>>>>>> _ __ | | __ _ _ _| | >>>>>>>>> | '_ \| |/ _' | || |_| >>>>>>>>> | __/|_|\____|\__ (_) >>>>>>>>> |_| |__/
>>>>>>>>> The new application will be created in /Users/phausel/x
>>>>>>>>> What is the application name? >>>>>>>>> > x
>>>>>>>>> Which template do you want to use for this new application?
>>>>>>>>> 1 - Create a simple Scala application >>>>>>>>> 2 - Create a simple Java application >>>>>>>>> 3 - Create an empty project >>>>>>>>> <g8 template> - Create an app based on the g8 template hosted on >>>>>>>>> Github
>>>>>>>>> > 2 >>>>>>>>> OK, application x is created.
>>>>>>>>> Have fun! >>>>>>>>> --------------
>>>>>>>>> On Monday, October 8, 2012 4:56:04 PM UTC-4, Ben McCann wrote:
>>>>>>>>>> I was going to try to create a test case, but I'm afraid I can't >>>>>>>>>> get that far even :-) Do you have any trouble creating new projects?
>>>>>>>>>> The new application will be created in /home/bmccann/src/tmp
>>>>>>>>>> What is the application name? >>>>>>>>>> > tmp
>>>>>>>>>> Which template do you want to use for this new application?
>>>>>>>>>> 1 - Create a simple Scala application >>>>>>>>>> 2 - Create a simple Java application >>>>>>>>>> 3 - Create an empty project >>>>>>>>>> <g8 template> - Create an app based on the g8 template hosted >>>>>>>>>> on Github
>>>>>>>>>> > 2 >>>>>>>>>> java.lang.NoSuchMethodError: scalax.io.Input.string$**default** >>>>>>>>>> $1()Lscalax/io/Codec; >>>>>>>>>> at play.console.Console$.replace(****Console.scala:29) >>>>>>>>>> at play.console.Console$.**generate**LocalTemplate(Console.** >>>>>>>>>> scala:**61) >>>>>>>>>> at play.console.Console$.**newComma**nd(Console.scala:133) >>>>>>>>>> at play.console.Console$$anonfun$****10$$anonfun$apply$5.apply(* >>>>>>>>>> *Cons**ole.scala:182) >>>>>>>>>> at play.console.Console$$anonfun$****10$$anonfun$apply$5.apply(** >>>>>>>>>> Cons**ole.scala:182) >>>>>>>>>> at play.console.Console$$anonfun$****11.apply(Console.scala:185) >>>>>>>>>> at play.console.Console$$anonfun$****11.apply(Console.scala:184) >>>>>>>>>> at scala.Option.map(Option.scala:****133) >>>>>>>>>> at play.console.Console$.main(**Con**sole.scala:184) >>>>>>>>>> at play.console.Console.run(**Conso**le.scala:208) >>>>>>>>>> at play.console.Console.run(**Conso**le.scala:205) >>>>>>>>>> at xsbt.boot.Launch$.run(Launch.**s**cala:55) >>>>>>>>>> at xsbt.boot.Launch$$anonfun$**expl**icit$1.apply(Launch.scala:* >>>>>>>>>> *45) >>>>>>>>>> at xsbt.boot.Launch$.launch(**Launc**h.scala:69) >>>>>>>>>> at xsbt.boot.Launch$.apply(**Launch**.scala:16) >>>>>>>>>> at xsbt.boot.Boot$.runImpl(Boot.**s**cala:31) >>>>>>>>>> at xsbt.boot.Boot$.main(Boot.**scal**a:20) >>>>>>>>>> at xsbt.boot.Boot.main(Boot.**scala**) >>>>>>>>>> Error during sbt execution: java.lang.NoSuchMethodError: >>>>>>>>>> scalax.io.Input.string$**default**$1()Lscalax/io/Codec;
>>>>>>>>>> On Monday, October 8, 2012 10:33:54 AM UTC-7, peter hausel wrote:
>>>>>>>>>>> I can not replicate this. Do you have a test case? Thanks Peter
>>>>>>>>>>> On Monday, October 8, 2012 1:17:03 PM UTC-4, Ben McCann wrote:
>>>>>>>>>>>> Exception in thread "main" java.lang.**NoClassDefFoundError**: >>>>>>>>>>>> scala/Right >>>>>>>>>>>> at org.specs2.runner.**SpecsFramewo**rk.testRunner(** >>>>>>>>>>>> TestInterfaceRun**ner.scala:18) >>>>>>>>>>>> at org.specs2.runner.**SpecsFramewo**rk.testRunner(** >>>>>>>>>>>> TestInterfaceRun**ner.scala:15) >>>>>>>>>>>> at
> After some time on the web, I found a solution. I added the following dep > to my project: > "org.specs2" % "specs2_2.10.0-M7" % "1.12.1.1" % "test",
> Play core is depending on the same version. However, I just found it out
that we pull in a 2.9 jar for template compiler project that may cause the problem for you. Will fix that
>>> The new application will be created in /Users/phausel/x
>>> What is the application name? >>> > x
>>> Which template do you want to use for this new application?
>>> 1 - Create a simple Scala application >>> 2 - Create a simple Java application >>> 3 - Create an empty project >>> <g8 template> - Create an app based on the g8 template hosted on Github
>>> > 2 >>> OK, application x is created.
>>> Have fun! >>> --------------
>>> On Monday, October 8, 2012 4:56:04 PM UTC-4, Ben McCann wrote:
>>>> I was going to try to create a test case, but I'm afraid I can't get >>>> that far even :-) Do you have any trouble creating new projects?
>>>> The new application will be created in /home/bmccann/src/tmp
>>>> What is the application name? >>>> > tmp
>>>> Which template do you want to use for this new application?
>>>> 1 - Create a simple Scala application >>>> 2 - Create a simple Java application >>>> 3 - Create an empty project >>>> <g8 template> - Create an app based on the g8 template hosted on >>>> Github
>>>> > 2 >>>> java.lang.NoSuchMethodError: scalax.io.Input.string$** >>>> default$1()Lscalax/io/Codec; >>>> at play.console.Console$.replace(**Console.scala:29) >>>> at play.console.Console$.**generateLocalTemplate(Console.**scala:61) >>>> at play.console.Console$.**newCommand(Console.scala:133) >>>> at play.console.Console$$anonfun$**10$$anonfun$apply$5.apply(** >>>> Console.scala:182) >>>> at play.console.Console$$anonfun$**10$$anonfun$apply$5.apply(** >>>> Console.scala:182) >>>> at play.console.Console$$anonfun$**11.apply(Console.scala:185) >>>> at play.console.Console$$anonfun$**11.apply(Console.scala:184) >>>> at scala.Option.map(Option.scala:**133) >>>> at play.console.Console$.main(**Console.scala:184) >>>> at play.console.Console.run(**Console.scala:208) >>>> at play.console.Console.run(**Console.scala:205) >>>> at xsbt.boot.Launch$.run(Launch.**scala:55) >>>> at xsbt.boot.Launch$$anonfun$**explicit$1.apply(Launch.scala:**45) >>>> at xsbt.boot.Launch$.launch(**Launch.scala:69) >>>> 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: >>>> scalax.io.Input.string$**default$1()Lscalax/io/Codec;
>>>> On Monday, October 8, 2012 10:33:54 AM UTC-7, peter hausel wrote:
>>>>> I can not replicate this. Do you have a test case? Thanks Peter
>>>>> On Monday, October 8, 2012 1:17:03 PM UTC-4, Ben McCann wrote:
>>>>>> Exception in thread "main" java.lang.**NoClassDefFoundError: >>>>>> scala/Right >>>>>> at org.specs2.runner.**SpecsFramework.testRunner(** >>>>>> TestInterfaceRunner.scala:18) >>>>>> at org.specs2.runner.**SpecsFramework.testRunner(** >>>>>> TestInterfaceRunner.scala:15) >>>>>> at sbt.ForkMain$Run.run(ForkMain.**java:130) >>>>>> at sbt.ForkMain.main(ForkMain.**java:70) >>>>>> Caused by: java.lang.**ClassNotFoundException: scala.Right >>>>>> at java.net.URLClassLoader$1.run(**URLClassLoader.java:217) >>>>>> at java.security.**AccessController.doPrivileged(**Native Method) >>>>>> at java.net.URLClassLoader.**findClass(URLClassLoader.java:**205) >>>>>> at java.lang.ClassLoader.**loadClass(ClassLoader.java:**321) >>>>>> at sun.misc.Launcher$**AppClassLoader.loadClass(**Launcher.java:294) >>>>>> at java.lang.ClassLoader.**loadClass(ClassLoader.java:**266) >>>>>> ... 4 more
>> To post to this group, send email to play-fr...@googlegroups.com<javascript:> >> . >> To unsubscribe from this group, send email to >> play-framewor...@googlegroups.com <javascript:>. >> For more options, visit this group at >> http://groups.google.com/group/play-framework?hl=en.
On Mon, Oct 8, 2012 at 7:34 PM, peter hausel <peter.hau...@gmail.com> wrote:
> After some time on the web, I found a solution. I added the following dep
>> to my project:
>> "org.specs2" % "specs2_2.10.0-M7" % "1.12.1.1" % "test",
>> Play core is depending on the same version. However, I just found it out
> that we pull in a 2.9 jar for template compiler project that may cause the
> problem for you. Will fix that
>> what version of Specs2 do you use in your project?
>> Pascal
>> On Mon, Oct 8, 2012 at 11:25 PM, peter hausel <peter....@gmail.com>wrote:
>>> which version of play are you on? (I am on the latest master)
>>> On Monday, October 8, 2012 5:22:34 PM UTC-4, peter hausel wrote:
>>>> hmm, seems to work for me:
>>>> ------------------------------****----------------
>>>> $ play new x
>>>> _ _
>>>> _ __ | | __ _ _ _| |
>>>> | '_ \| |/ _' | || |_|
>>>> | __/|_|\____|\__ (_)
>>>> |_| |__/
>>>> The new application will be created in /Users/phausel/x
>>>> What is the application name?
>>>> > x
>>>> Which template do you want to use for this new application?
>>>> 1 - Create a simple Scala application
>>>> 2 - Create a simple Java application
>>>> 3 - Create an empty project
>>>> <g8 template> - Create an app based on the g8 template hosted on
>>>> Github
>>>> > 2
>>>> OK, application x is created.
>>>> Have fun!
>>>> --------------
>>>> On Monday, October 8, 2012 4:56:04 PM UTC-4, Ben McCann wrote:
>>>>> I was going to try to create a test case, but I'm afraid I can't get
>>>>> that far even :-) Do you have any trouble creating new projects?
>>>>> The new application will be created in /home/bmccann/src/tmp
>>>>> What is the application name?
>>>>> > tmp
>>>>> Which template do you want to use for this new application?
>>>>> 1 - Create a simple Scala application
>>>>> 2 - Create a simple Java application
>>>>> 3 - Create an empty project
>>>>> <g8 template> - Create an app based on the g8 template hosted on
>>>>> Github
>>>>> > 2
>>>>> java.lang.NoSuchMethodError: scalax.io.Input.string$**default**
>>>>> $1()Lscalax/io/Codec;
>>>>> at play.console.Console$.replace(****Console.scala:29)
>>>>> at play.console.Console$.**generate**LocalTemplate(Console.**scala:**
>>>>> 61)
>>>>> at play.console.Console$.**newComma**nd(Console.scala:133)
>>>>> at play.console.Console$$anonfun$****10$$anonfun$apply$5.apply(**Cons
>>>>> **ole.scala:182)
>>>>> at play.console.Console$$anonfun$****10$$anonfun$apply$5.apply(**Cons*
>>>>> *ole.scala:182)
>>>>> at play.console.Console$$anonfun$****11.apply(Console.scala:185)
>>>>> at play.console.Console$$anonfun$****11.apply(Console.scala:184)
>>>>> at scala.Option.map(Option.scala:****133)
>>>>> at play.console.Console$.main(**Con**sole.scala:184)
>>>>> at play.console.Console.run(**Conso**le.scala:208)
>>>>> at play.console.Console.run(**Conso**le.scala:205)
>>>>> at xsbt.boot.Launch$.run(Launch.**s**cala:55)
>>>>> at xsbt.boot.Launch$$anonfun$**expl**icit$1.apply(Launch.scala:**45)
>>>>> at xsbt.boot.Launch$.launch(**Launc**h.scala:69)
>>>>> at xsbt.boot.Launch$.apply(**Launch**.scala:16)
>>>>> at xsbt.boot.Boot$.runImpl(Boot.**s**cala:31)
>>>>> at xsbt.boot.Boot$.main(Boot.**scal**a:20)
>>>>> at xsbt.boot.Boot.main(Boot.**scala**)
>>>>> Error during sbt execution: java.lang.NoSuchMethodError:
>>>>> scalax.io.Input.string$**default**$1()Lscalax/io/Codec;
>>>>> On Monday, October 8, 2012 10:33:54 AM UTC-7, peter hausel wrote:
>>>>>> I can not replicate this. Do you have a test case? Thanks Peter
>>>>>> On Monday, October 8, 2012 1:17:03 PM UTC-4, Ben McCann wrote:
>>>>>>> Exception in thread "main" java.lang.**NoClassDefFoundError**:
>>>>>>> scala/Right
>>>>>>> at org.specs2.runner.**SpecsFramewo**rk.testRunner(**
>>>>>>> TestInterfaceRun**ner.scala:18)
>>>>>>> at org.specs2.runner.**SpecsFramewo**rk.testRunner(**
>>>>>>> TestInterfaceRun**ner.scala:15)
>>>>>>> at sbt.ForkMain$Run.run(ForkMain.****java:130)
>>>>>>> at sbt.ForkMain.main(ForkMain.**jav**a:70)
>>>>>>> Caused by: java.lang.**ClassNotFoundExcepti**on: scala.Right
>>>>>>> at java.net.URLClassLoader$1.run(****URLClassLoader.java:217)
>>>>>>> at java.security.**AccessController**.doPrivileged(**Native Method)
>>>>>>> at java.net.URLClassLoader.**findCl**ass(URLClassLoader.java:**205)
>>>>>>> at java.lang.ClassLoader.**loadClas**s(ClassLoader.java:**321)
>>>>>>> at sun.misc.Launcher$**AppClassLoad**er.loadClass(**Launcher.java:**
>>>>>>> 294)
>>>>>>> at java.lang.ClassLoader.**loadClas**s(ClassLoader.java:**266)
>>>>>>> ... 4 more
>>> To post to this group, send email to play-fr...@googlegroups.**com.
>>> To unsubscribe from this group, send email to play-framewor...@**
>>> googlegroups.com.
> To post to this group, send email to play-framework@googlegroups.com.
> To unsubscribe from this group, send email to
> play-framework+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/play-framework?hl=en.
On Monday, October 8, 2012 10:34:47 PM UTC-4, peter hausel wrote:
> After some time on the web, I found a solution. I added the following dep >> to my project: >> "org.specs2" % "specs2_2.10.0-M7" % "1.12.1.1" % "test",
>> Play core is depending on the same version. However, I just found it out > that we pull in a 2.9 jar for template compiler project that may cause the > problem for you. Will fix that
>> what version of Specs2 do you use in your project?
>> Pascal
>> On Mon, Oct 8, 2012 at 11:25 PM, peter hausel <peter....@gmail.com>wrote:
>>> which version of play are you on? (I am on the latest master)
>>> On Monday, October 8, 2012 5:22:34 PM UTC-4, peter hausel wrote:
>>>> hmm, seems to work for me: >>>> ------------------------------**---------------- >>>> $ play new x >>>> _ _ >>>> _ __ | | __ _ _ _| | >>>> | '_ \| |/ _' | || |_| >>>> | __/|_|\____|\__ (_) >>>> |_| |__/
>>>> The new application will be created in /Users/phausel/x
>>>> What is the application name? >>>> > x
>>>> Which template do you want to use for this new application?
>>>> 1 - Create a simple Scala application >>>> 2 - Create a simple Java application >>>> 3 - Create an empty project >>>> <g8 template> - Create an app based on the g8 template hosted on >>>> Github
>>>> > 2 >>>> OK, application x is created.
>>>> Have fun! >>>> --------------
>>>> On Monday, October 8, 2012 4:56:04 PM UTC-4, Ben McCann wrote:
>>>>> I was going to try to create a test case, but I'm afraid I can't get >>>>> that far even :-) Do you have any trouble creating new projects?
>>>>> The new application will be created in /home/bmccann/src/tmp
>>>>> What is the application name? >>>>> > tmp
>>>>> Which template do you want to use for this new application?
>>>>> 1 - Create a simple Scala application >>>>> 2 - Create a simple Java application >>>>> 3 - Create an empty project >>>>> <g8 template> - Create an app based on the g8 template hosted on >>>>> Github
>>>>> > 2 >>>>> java.lang.NoSuchMethodError: scalax.io.Input.string$** >>>>> default$1()Lscalax/io/Codec; >>>>> at play.console.Console$.replace(**Console.scala:29) >>>>> at play.console.Console$.**generateLocalTemplate(Console.**scala:61) >>>>> at play.console.Console$.**newCommand(Console.scala:133) >>>>> at play.console.Console$$anonfun$**10$$anonfun$apply$5.apply(** >>>>> Console.scala:182) >>>>> at play.console.Console$$anonfun$**10$$anonfun$apply$5.apply(** >>>>> Console.scala:182) >>>>> at play.console.Console$$anonfun$**11.apply(Console.scala:185) >>>>> at play.console.Console$$anonfun$**11.apply(Console.scala:184) >>>>> at scala.Option.map(Option.scala:**133) >>>>> at play.console.Console$.main(**Console.scala:184) >>>>> at play.console.Console.run(**Console.scala:208) >>>>> at play.console.Console.run(**Console.scala:205) >>>>> at xsbt.boot.Launch$.run(Launch.**scala:55) >>>>> at xsbt.boot.Launch$$anonfun$**explicit$1.apply(Launch.scala:**45) >>>>> at xsbt.boot.Launch$.launch(**Launch.scala:69) >>>>> 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: >>>>> scalax.io.Input.string$**default$1()Lscalax/io/Codec;
>>>>> On Monday, October 8, 2012 10:33:54 AM UTC-7, peter hausel wrote:
>>>>>> I can not replicate this. Do you have a test case? Thanks Peter
>>>>>> On Monday, October 8, 2012 1:17:03 PM UTC-4, Ben McCann wrote:
>>>>>>> Exception in thread "main" java.lang.**NoClassDefFoundError: >>>>>>> scala/Right >>>>>>> at org.specs2.runner.**SpecsFramework.testRunner(** >>>>>>> TestInterfaceRunner.scala:18) >>>>>>> at org.specs2.runner.**SpecsFramework.testRunner(** >>>>>>> TestInterfaceRunner.scala:15) >>>>>>> at sbt.ForkMain$Run.run(ForkMain.**java:130) >>>>>>> at sbt.ForkMain.main(ForkMain.**java:70) >>>>>>> Caused by: java.lang.**ClassNotFoundException: scala.Right >>>>>>> at java.net.URLClassLoader$1.run(**URLClassLoader.java:217) >>>>>>> at java.security.**AccessController.doPrivileged(**Native Method) >>>>>>> at java.net.URLClassLoader.**findClass(URLClassLoader.java:**205) >>>>>>> at java.lang.ClassLoader.**loadClass(ClassLoader.java:**321) >>>>>>> at sun.misc.Launcher$**AppClassLoader.loadClass(**Launcher.java:294) >>>>>>> at java.lang.ClassLoader.**loadClass(ClassLoader.java:**266) >>>>>>> ... 4 more
>>> To post to this group, send email to play-fr...@googlegroups.com. >>> To unsubscribe from this group, send email to >>> play-framewor...@googlegroups.com. >>> For more options, visit this group at >>> http://groups.google.com/group/play-framework?hl=en.
On Monday, October 8, 2012 10:41:28 PM UTC-4, Ben McCann wrote:
> Thank you so much for looking at this Peter!
> On Mon, Oct 8, 2012 at 7:34 PM, peter hausel <peter....@gmail.com<javascript:> > > wrote:
>> After some time on the web, I found a solution. I added the following dep >>> to my project: >>> "org.specs2" % "specs2_2.10.0-M7" % "1.12.1.1" % "test",
>>> Play core is depending on the same version. However, I just found it out >> that we pull in a 2.9 jar for template compiler project that may cause the >> problem for you. Will fix that
>>> what version of Specs2 do you use in your project?
>>> Pascal
>>> On Mon, Oct 8, 2012 at 11:25 PM, peter hausel <peter....@gmail.com>wrote:
>>>> which version of play are you on? (I am on the latest master)
>>>> On Monday, October 8, 2012 5:22:34 PM UTC-4, peter hausel wrote:
>>>>> hmm, seems to work for me: >>>>> ------------------------------****---------------- >>>>> $ play new x >>>>> _ _ >>>>> _ __ | | __ _ _ _| | >>>>> | '_ \| |/ _' | || |_| >>>>> | __/|_|\____|\__ (_) >>>>> |_| |__/
>>>>> The new application will be created in /Users/phausel/x
>>>>> What is the application name? >>>>> > x
>>>>> Which template do you want to use for this new application?
>>>>> 1 - Create a simple Scala application >>>>> 2 - Create a simple Java application >>>>> 3 - Create an empty project >>>>> <g8 template> - Create an app based on the g8 template hosted on >>>>> Github
>>>>> > 2 >>>>> OK, application x is created.
>>>>> Have fun! >>>>> --------------
>>>>> On Monday, October 8, 2012 4:56:04 PM UTC-4, Ben McCann wrote:
>>>>>> I was going to try to create a test case, but I'm afraid I can't get >>>>>> that far even :-) Do you have any trouble creating new projects?
>>>>>> The new application will be created in /home/bmccann/src/tmp
>>>>>> What is the application name? >>>>>> > tmp
>>>>>> Which template do you want to use for this new application?
>>>>>> 1 - Create a simple Scala application >>>>>> 2 - Create a simple Java application >>>>>> 3 - Create an empty project >>>>>> <g8 template> - Create an app based on the g8 template hosted on >>>>>> Github
>>>>>> > 2 >>>>>> java.lang.NoSuchMethodError: scalax.io.Input.string$**default** >>>>>> $1()Lscalax/io/Codec; >>>>>> at play.console.Console$.replace(****Console.scala:29) >>>>>> at play.console.Console$.**generate**LocalTemplate(Console.**scala:* >>>>>> *61) >>>>>> at play.console.Console$.**newComma**nd(Console.scala:133) >>>>>> at play.console.Console$$anonfun$****10$$anonfun$apply$5.apply(** >>>>>> Cons**ole.scala:182) >>>>>> at play.console.Console$$anonfun$****10$$anonfun$apply$5.apply(**Cons >>>>>> **ole.scala:182) >>>>>> at play.console.Console$$anonfun$****11.apply(Console.scala:185) >>>>>> at play.console.Console$$anonfun$****11.apply(Console.scala:184) >>>>>> at scala.Option.map(Option.scala:****133) >>>>>> at play.console.Console$.main(**Con**sole.scala:184) >>>>>> at play.console.Console.run(**Conso**le.scala:208) >>>>>> at play.console.Console.run(**Conso**le.scala:205) >>>>>> at xsbt.boot.Launch$.run(Launch.**s**cala:55) >>>>>> at xsbt.boot.Launch$$anonfun$**expl**icit$1.apply(Launch.scala:**45) >>>>>> at xsbt.boot.Launch$.launch(**Launc**h.scala:69) >>>>>> at xsbt.boot.Launch$.apply(**Launch**.scala:16) >>>>>> at xsbt.boot.Boot$.runImpl(Boot.**s**cala:31) >>>>>> at xsbt.boot.Boot$.main(Boot.**scal**a:20) >>>>>> at xsbt.boot.Boot.main(Boot.**scala**) >>>>>> Error during sbt execution: java.lang.NoSuchMethodError: >>>>>> scalax.io.Input.string$**default**$1()Lscalax/io/Codec;
>>>>>> On Monday, October 8, 2012 10:33:54 AM UTC-7, peter hausel wrote:
>>>>>>> I can not replicate this. Do you have a test case? Thanks Peter
>>>>>>> On Monday, October 8, 2012 1:17:03 PM UTC-4, Ben McCann wrote:
>>>>>>>> Exception in thread "main" java.lang.**NoClassDefFoundError**: >>>>>>>> scala/Right >>>>>>>> at org.specs2.runner.**SpecsFramewo**rk.testRunner(** >>>>>>>> TestInterfaceRun**ner.scala:18) >>>>>>>> at org.specs2.runner.**SpecsFramewo**rk.testRunner(** >>>>>>>> TestInterfaceRun**ner.scala:15) >>>>>>>> at sbt.ForkMain$Run.run(ForkMain.****java:130) >>>>>>>> at sbt.ForkMain.main(ForkMain.**jav**a:70) >>>>>>>> Caused by: java.lang.**ClassNotFoundExcepti**on: scala.Right >>>>>>>> at java.net.URLClassLoader$1.run(****URLClassLoader.java:217) >>>>>>>> at java.security.**AccessController**.doPrivileged(**Native >>>>>>>> Method) >>>>>>>> at java.net.URLClassLoader.**findCl**ass(URLClassLoader.java:**205) >>>>>>>> at java.lang.ClassLoader.**loadClas**s(ClassLoader.java:**321) >>>>>>>> at sun.misc.Launcher$**AppClassLoad**er.loadClass(**Launcher.java:* >>>>>>>> *294) >>>>>>>> at java.lang.ClassLoader.**loadClas**s(ClassLoader.java:**266) >>>>>>>> ... 4 more
>>>> To post to this group, send email to play-fr...@googlegroups.**com. >>>> To unsubscribe from this group, send email to play-framewor...@** >>>> googlegroups.com.
>> To post to this group, send email to play-fr...@googlegroups.com<javascript:> >> . >> To unsubscribe from this group, send email to >> play-framewor...@googlegroups.com <javascript:>. >> For more options, visit this group at >> http://groups.google.com/group/play-framework?hl=en.
On Mon, Oct 8, 2012 at 8:14 PM, peter hausel <peter.hau...@gmail.com> wrote:
> The console issue is now fixed (
> https://github.com/playframework/Play20/commit/286b0f4eef56c26f359929...)
> you'd need to delete your cache
> (<playhome>/framework/sbt/boot/scala-2.9.2/play or something like that) and
> rebuild play to get it working.
> On Monday, October 8, 2012 10:41:28 PM UTC-4, Ben McCann wrote:
>> Thank you so much for looking at this Peter!
>> On Mon, Oct 8, 2012 at 7:34 PM, peter hausel <peter....@gmail.com> wrote:
>>> After some time on the web, I found a solution. I added the following
>>>> dep to my project:
>>>> "org.specs2" % "specs2_2.10.0-M7" % "1.12.1.1" % "test",
>>>> Play core is depending on the same version. However, I just found it
>>> out that we pull in a 2.9 jar for template compiler project that may cause
>>> the problem for you. Will fix that
>>>> what version of Specs2 do you use in your project?
>>>> Pascal
>>>> On Mon, Oct 8, 2012 at 11:25 PM, peter hausel <peter....@gmail.com>wrote:
>>>>> which version of play are you on? (I am on the latest master)
>>>>> On Monday, October 8, 2012 5:22:34 PM UTC-4, peter hausel wrote:
>>>>>> hmm, seems to work for me:
>>>>>> ------------------------------******----------------
>>>>>> $ play new x
>>>>>> _ _
>>>>>> _ __ | | __ _ _ _| |
>>>>>> | '_ \| |/ _' | || |_|
>>>>>> | __/|_|\____|\__ (_)
>>>>>> |_| |__/
>>>>>> The new application will be created in /Users/phausel/x
>>>>>> What is the application name?
>>>>>> > x
>>>>>> Which template do you want to use for this new application?
>>>>>> 1 - Create a simple Scala application
>>>>>> 2 - Create a simple Java application
>>>>>> 3 - Create an empty project
>>>>>> <g8 template> - Create an app based on the g8 template hosted on
>>>>>> Github
>>>>>> > 2
>>>>>> OK, application x is created.
>>>>>> Have fun!
>>>>>> --------------
>>>>>> On Monday, October 8, 2012 4:56:04 PM UTC-4, Ben McCann wrote:
>>>>>>> I was going to try to create a test case, but I'm afraid I can't get
>>>>>>> that far even :-) Do you have any trouble creating new projects?
>>>>>>> The new application will be created in /home/bmccann/src/tmp
>>>>>>> What is the application name?
>>>>>>> > tmp
>>>>>>> Which template do you want to use for this new application?
>>>>>>> 1 - Create a simple Scala application
>>>>>>> 2 - Create a simple Java application
>>>>>>> 3 - Create an empty project
>>>>>>> <g8 template> - Create an app based on the g8 template hosted on
>>>>>>> Github
>>>>>>> > 2
>>>>>>> java.lang.NoSuchMethodError: scalax.io.Input.string$**default****
>>>>>>> $1()Lscalax/io/Codec;
>>>>>>> at play.console.Console$.replace(******Console.scala:29)
>>>>>>> at play.console.Console$.**generate****LocalTemplate(Console.**
>>>>>>> scala:**61**)
>>>>>>> at play.console.Console$.**newComma****nd(Console.scala:133)
>>>>>>> at play.console.Console$$anonfun$******10$$anonfun$apply$5.apply(**
>>>>>>> Cons****ole.scala:182)
>>>>>>> at play.console.Console$$anonfun$******10$$anonfun$apply$5.apply(**
>>>>>>> Cons****ole.scala:182)
>>>>>>> at play.console.Console$$anonfun$******11.apply(Console.scala:185)
>>>>>>> at play.console.Console$$anonfun$******11.apply(Console.scala:184)
>>>>>>> at scala.Option.map(Option.scala:******133)
>>>>>>> at play.console.Console$.main(**Con****sole.scala:184)
>>>>>>> at play.console.Console.run(**Conso****le.scala:208)
>>>>>>> at play.console.Console.run(**Conso****le.scala:205)
>>>>>>> at xsbt.boot.Launch$.run(Launch.**s****cala:55)
>>>>>>> at xsbt.boot.Launch$$anonfun$**expl****icit$1.apply(Launch.scala:**
>>>>>>> 45)
>>>>>>> at xsbt.boot.Launch$.launch(**Launc****h.scala:69)
>>>>>>> at xsbt.boot.Launch$.apply(**Launch****.scala:16)
>>>>>>> at xsbt.boot.Boot$.runImpl(Boot.**s****cala:31)
>>>>>>> at xsbt.boot.Boot$.main(Boot.**scal****a:20)
>>>>>>> at xsbt.boot.Boot.main(Boot.**scala****)
>>>>>>> Error during sbt execution: java.lang.NoSuchMethodError:
>>>>>>> scalax.io.Input.string$**default****$1()Lscalax/io/Codec;
>>>>>>> On Monday, October 8, 2012 10:33:54 AM UTC-7, peter hausel wrote:
>>>>>>>> I can not replicate this. Do you have a test case? Thanks Peter
>>>>>>>> On Monday, October 8, 2012 1:17:03 PM UTC-4, Ben McCann wrote:
>>>>>>>>> Exception in thread "main" java.lang.**NoClassDefFoundError****:
>>>>>>>>> scala/Right
>>>>>>>>> at org.specs2.runner.**SpecsFramewo****rk.testRunner(**
>>>>>>>>> TestInterfaceRun****ner.scala:18)
>>>>>>>>> at org.specs2.runner.**SpecsFramewo****rk.testRunner(**
>>>>>>>>> TestInterfaceRun****ner.scala:15)
>>>>>>>>> at sbt.ForkMain$Run.run(ForkMain.******java:130)
>>>>>>>>> at sbt.ForkMain.main(ForkMain.**jav****a:70)
>>>>>>>>> Caused by: java.lang.**ClassNotFoundExcepti****on: scala.Right
>>>>>>>>> at java.net.URLClassLoader$1.run(******URLClassLoader.java:217)
>>>>>>>>> at java.security.**AccessController****.doPrivileged(**Native
>>>>>>>>> Method)
>>>>>>>>> at java.net.URLClassLoader.**findCl****ass(URLClassLoader.java:**
>>>>>>>>> 205)
>>>>>>>>> at java.lang.ClassLoader.**loadClas****s(ClassLoader.java:**321)
>>>>>>>>> at sun.misc.Launcher$**AppClassLoad****er.loadClass(**
>>>>>>>>> Launcher.java:**294**)
>>>>>>>>> at java.lang.ClassLoader.**loadClas****s(ClassLoader.java:**266)
>>>>>>>>> ... 4 more
>>>>> To post to this group, send email to play-fr...@googlegroups.**com.
>>>>> To unsubscribe from this group, send email to play-framewor...@**
>>>>> googlegroups.**com.
>>> To post to this group, send email to play-fr...@googlegroups.**com.
>>> To unsubscribe from this group, send email to play-framewor...@**
>>> googlegroups.com.
>>> For more options, visit this group at http://groups.google.com/** >>> group/play-framework?hl=en<http://groups.google.com/group/play-framework?hl=en>
>>> .
> To post to this group, send email to play-framework@googlegroups.com.
> To unsubscribe from this group, send email to
> play-framework+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/play-framework?hl=en.