tuplejump / play-yeoman

Play + Yeoman integration sbt and play plugins
Apache License 2.0
237 stars 58 forks source link

java.lang.NoSuchMethodError: play.core.DynamicPart #17

Closed thilko closed 11 years ago

thilko commented 11 years ago

With play-2.10 and sbt-yeoman-0.5.2 I´m getting this error msg on first request:

! Internal server error, for (GET) [/ui/] ->

java.lang.NoSuchMethodError: play.core.DynamicPart.<init>(Ljava/lang/String;Ljava/lang/String;Z)V
    at yeoman.Routes$.yeoman$Routes$$com_tuplejump_playYeoman_Yeoman_at0$lzycompute(routes_routing.scala:32) ~[play-yeoman_2.10-0.5.2.jar:0.5.2]
    at yeoman.Routes$.yeoman$Routes$$com_tuplejump_playYeoman_Yeoman_at0(routes_routing.scala:32) ~[play-yeoman_2.10-0.5.2.jar:0.5.2]
    at yeoman.Routes$$anonfun$routes$1.applyOrElse(routes_routing.scala:47) ~[play-yeoman_2.10-0.5.2.jar:0.5.2]
    at yeoman.Routes$$anonfun$routes$1.applyOrElse(routes_routing.scala:44) ~[play-yeoman_2.10-0.5.2.jar:0.5.2]
    at scala.PartialFunction$Lifted.apply(PartialFunction.scala:218) ~[scala-library.jar:na]
    at scala.PartialFunction$Lifted.apply(PartialFunction.scala:214) ~[scala-library.jar:na]

Seems to be a version issue?

milliondreams commented 11 years ago

Looks like version issue...

Are you using Play 2.1.0? The current build of this plugin was built against 2.1.1 probably using that may solve the issue.

thilko commented 11 years ago

jepp, I used 2.1.0... think 2.1.1 will solve the issue...

On Wed, Aug 21, 2013 at 6:20 AM, Rohit Rai notifications@github.com wrote:

Looks like version issue...

Are you using Play 2.1.0? The current build of this plugin was built against 2.1.1 probably using that may solve the issue.

— Reply to this email directly or view it on GitHubhttps://github.com/tuplejump/play-yeoman/issues/17#issuecomment-22994573 .

milliondreams commented 11 years ago

You can try compiling from source against 2.1.0, it should work. If you really want to keep using 2.1.0! If you have issues compiling I can try and release a back port.

thilko commented 11 years ago

It´s just a sandbox project, I will upgrade ;-)

On Wed, Aug 28, 2013 at 7:20 AM, Rohit Rai notifications@github.com wrote:

You can try compiling from source against 2.1.0, it should work. If you really want to keep using 2.1.0! If you have issues compiling I can try and release a back port.

— Reply to this email directly or view it on GitHubhttps://github.com/tuplejump/play-yeoman/issues/17#issuecomment-23392169 .

milliondreams commented 11 years ago

For now we only support 2.1.x and higher. We will support 2.1.0 if there is a request to do so. Closing the issue.