# Routes
# This file defines all application routes (Higher priority routes first)
# ~~~~
# Home page
GET / controllers.Corporate.index()
[error] /Users/steven/Projects/project-escape/server_play2/conf/routes:6: too many arguments for method apply: (ref: AnyRef, controller: String, method: String, parameterTypes: Seq[Class[_]])play.core.Router.HandlerDef in object HandlerDef
[error] GET / controllers.Corporate.index()
[error] /Users/steven/Projects/project-escape/server_play2/conf/routes:6: too many arguments for method apply: (ref: AnyRef, controller: String, method: String, parameterTypes: Seq[Class[_]])play.core.Router.HandlerDef in object HandlerDef
[error] GET / controllers.Corporate.index
[error] /Users/steven/Projects/project-escape/server_play2/conf/routes:6: too many arguments for method apply: (ref: AnyRef, controller: String, method: String, parameterTypes: Seq[Class[_]])play.core.Router.HandlerDef in object HandlerDef
[error] GET / controllers.Corporate.index
_ _
_ __ | | __ _ _ _| |
| '_ \| |/ _' | || |_|
| __/|_|\____|\__ (_)
|_| |__/
play! 2.1-SNAPSHOT (using Scala 2.9.2), http://www.playframework.org
The new application will be created in /Users/steven/Projects/test
What is the application name?
> test
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;
Play mailer plugin depends on Play 2.0.3 and, when you are on 2.1-snapshot, happily downloads the kitchen sink and then, voila, 2 versions of Play.
+-------------------------------------------------------------------+---------------------------------------------------------+---------------------------------------------+
| com.typesafe.akka:akka-actor:2.0.2 | com.github.scala-incubator.io:scala-io-core_2.9.2:0.4.1 | As akka-actor-2.0.2.jar |
| | com.typesafe.akka:akka-slf4j:2.0.2 | |
| | play:play_2.9.2:2.1-SNAPSHOT | |
| | play:akka-sip14-adapters_2.9.2:2.1-SNAPSHOT | |
+-------------------------------------------------------------------+---------------------------------------------------------+---------------------------------------------+
"com.typesafe.akka" % (if(experimental) "akka- actor_2.10.0-M7" else "akka-actor" ) % (if(experimental) "2.1-M2" else "2.0.2"),
"com.typesafe.akka" % (if(experimental) "akka- slf4j_2.10.0-M7" else "akka-slf4j" ) % (if(experimental) "2.1-M2" else "2.0.2"),
