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
>>>> _ _
>>>> _ __ | | __ _ _ _| |
>>>> | '_ \| |/ _' | || |_|
>>>> | __/|_|\____|\__ (_)
>>>> |_| |__/
>>>> play! 2.1-SNAPSHOT, http://www.playframework.org
>>>> 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?
>>>>> $ play new tmp
>>>>> Getting play console_2.9.2 2.1-SNAPSHOT ...
>>>>> :: retrieving :: org.scala-sbt#boot-app
>>>>> confs: [default]
>>>>> 32 artifacts copied, 0 already retrieved (9545kB/63ms)
>>>>> _ _
>>>>> _ __ | | __ _ _ _| |
>>>>> | '_ \| |/ _' | || |_|
>>>>> | __/|_|\____|\__ (_)
>>>>> |_| |__/
>>>>> play! 2.1-SNAPSHOT (using Scala 2.10.0-M7),
>>>>> http://www.playframework.org
>>>>> 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:
>>>>>>> My tests fail since the recent upgrade to Scala 2.10<https://github.com/playframework/Play20/commit/61851ada52b45d1912fda1...>.
>>>>>>> I was hoping someone might have a solution.
>>>>>>> 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
>>>>>>> Thanks,
>>>>>>> Ben
>>>>>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "play-framework" group.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msg/play-framework/-/kgv8p8Xdnx4J.
>>> 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.