sgodbillon / reactivemongo-tailablecursor-demo

Tailable Cursors through WebSockets with ReactiveMongo and Play 2.0
62 stars 21 forks source link

Unable to start demo with latest 2.1-SNAPSHOT #2

Closed alexanderjarvis closed 12 years ago

alexanderjarvis commented 12 years ago

There appears to be something wrong and I cannot start the demo:

[info] Compiling 5 Scala sources and 1 Java source to /Users/alex/github/reactivemongo-tailablecursor-demo/target/scala-2.9.2/classes...
[error] /Users/alex/github/reactivemongo-tailablecursor-demo/conf/routes:7: not enough arguments for method apply: (ref: AnyRef, controller: String, method: String, parameterTypes: Seq[Class[_]], verb: String, comments: String, path: String)play.core.Router.HandlerDef in object HandlerDef.
[error] Unspecified value parameters verb, comments, path.
[error] GET     /watchCollection            controllers.Application.watchCollection
[error] /Users/alex/github/reactivemongo-tailablecursor-demo/conf/routes:6: not enough arguments for method apply: (ref: AnyRef, controller: String, method: String, parameterTypes: Seq[Class[_]], verb: String, comments: String, path: String)play.core.Router.HandlerDef in object HandlerDef.
[error] Unspecified value parameters verb, comments, path.
[error] GET     /                           controllers.Application.index
[error] /Users/alex/github/reactivemongo-tailablecursor-demo/conf/routes:10: not enough arguments for method apply: (ref: AnyRef, controller: String, method: String, parameterTypes: Seq[Class[_]], verb: String, comments: String, path: String)play.core.Router.HandlerDef in object HandlerDef.
[error] Unspecified value parameters verb, comments, path.
[error] GET     /assets/*file               controllers.Assets.at(path="/public", file)
[error] /Users/alex/github/reactivemongo-tailablecursor-demo/conf/routes:6: not enough arguments for method apply: (ref: AnyRef, controller: String, method: String, parameterTypes: Seq[Class[_]], verb: String, comments: String, path: String)play.core.Router.HandlerDef in object HandlerDef.
[error] Unspecified value parameters verb, comments, path.
[error] GET     /                           controllers.Application.index
[error] /Users/alex/github/reactivemongo-tailablecursor-demo/conf/routes:7: not enough arguments for method apply: (ref: AnyRef, controller: String, method: String, parameterTypes: Seq[Class[_]], verb: String, comments: String, path: String)play.core.Router.HandlerDef in object HandlerDef.
[error] Unspecified value parameters verb, comments, path.
[error] GET     /watchCollection            controllers.Application.watchCollection
[error] /Users/alex/github/reactivemongo-tailablecursor-demo/conf/routes:10: not enough arguments for method apply: (ref: AnyRef, controller: String, method: String, parameterTypes: Seq[Class[_]], verb: String, comments: String, path: String)play.core.Router.HandlerDef in object HandlerDef.
[error] Unspecified value parameters verb, comments, path.
[error] GET     /assets/*file               controllers.Assets.at(path="/public", file)
[error] 6 errors found
[error] (compile:compile) Compilation failed
[error] application - 

! @6bo0i576j - Internal server error, for (GET) [/] ->

sbt.PlayExceptions$CompilationException: Compilation error[not enough arguments for method apply: (ref: AnyRef, controller: String, method: String, parameterTypes: Seq[Class[_]], verb: String, comments: String, path: String)play.core.Router.HandlerDef in object HandlerDef.
Unspecified value parameters verb, comments, path.]
    at sbt.PlayReloader$$anon$2$$anonfun$reload$2$$anonfun$apply$15$$anonfun$apply$16.apply(PlayReloader.scala:256) ~[na:na]
    at sbt.PlayReloader$$anon$2$$anonfun$reload$2$$anonfun$apply$15$$anonfun$apply$16.apply(PlayReloader.scala:256) ~[na:na]
    at scala.Option.map(Option.scala:133) ~[scala-library.jar:na]
    at sbt.PlayReloader$$anon$2$$anonfun$reload$2$$anonfun$apply$15.apply(PlayReloader.scala:256) ~[na:na]
    at sbt.PlayReloader$$anon$2$$anonfun$reload$2$$anonfun$apply$15.apply(PlayReloader.scala:253) ~[na:na]
    at scala.Option.map(Option.scala:133) ~[scala-library.jar:na]
sgodbillon commented 12 years ago

Hi Alex,

I just pushed a snapshot of Play2 that should be used to run this example: https://bitbucket.org/sgodbillon/repository/src/9f0c4e40cca1/play-2.1-SNAPSHOT.zip. Play2 is currently being ported to Scala 2.10 and its API is very unstable right now.

Thanks for having reported this!

alexanderjarvis commented 12 years ago

Merci beaucoup :)

On 28 Sep 2012, at 21:28, Stephane Godbillon notifications@github.com wrote:

Hi Alex,

I just pushed a snapshot of Play2 that should be used to run this example: https://bitbucket.org/sgodbillon/repository/src/9f0c4e40cca1/play-2.1-SNAPSHOT.zip). Play2 is currently being ported to Scala 2.10 and its API is very unstable right now.

Thanks for having reported this!

— Reply to this email directly or view it on GitHub.