Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[java-play2][scala-play2] Failed to run java-play2 with play 2.0.2 #42

Closed
angeloh opened this issue Jun 28, 2012 · 5 comments
Closed

[java-play2][scala-play2] Failed to run java-play2 with play 2.0.2 #42

angeloh opened this issue Jun 28, 2012 · 5 comments

Comments

@angeloh
Copy link

angeloh commented Jun 28, 2012

To run java-play2 or scala-play2 under play 2.0.2, these changes are required:

$ vi build.properties
sbt.version=0.11.3
$ vi project/plugins.sbt
change 2.0.1 to 2.0.2

When execute 'play run' and type 'http://localhost:9000/resources.json' on browser, these errors throw up from the console:

[error] application -

! Internal server error, for request [GET /resources.json] ->

java.lang.AbstractMethodError: null
at play.api.http.HeaderNames$class.$init$(StandardValues.scala:193) ~[play_2.9.1.jar:2.0.2-RC2]
at controllers.SwaggerBaseApiController.(ApiHelpController.scala:53) ~[swagger-play2_2.9.1-1.1-SNAPSHOT.jar:1.1-SNAPSHOT]
at controllers.ApiHelpController$.(ApiHelpController.scala:33) ~[swagger-play2_2.9.1-1.1-SNAPSHOT.jar:1.1-SNAPSHOT]
at controllers.ApiHelpController$.(ApiHelpController.scala) ~[swagger-play2_2.9.1-1.1-SNAPSHOT.jar:1.1-SNAPSHOT]
at Routes$$anonfun$routes$1$$anonfun$apply$1$$anonfun$apply$2.apply(routes_routing.scala:104) ~[classes/:na]
at Routes$$anonfun$routes$1$$anonfun$apply$1$$anonfun$apply$2.apply(routes_routing.scala:104) ~[classes/:na]

@rore
Copy link

rore commented Jul 2, 2012

+1 for supporting play 2.0.2

@sclasen
Copy link

sclasen commented Jul 24, 2012

+1 Hit this issue too,

@rintcius
Copy link
Contributor

Same problem here (play 2.0.2 scala). Any idea how to get around this? The exception is quite mysterious

@rintcius
Copy link
Contributor

FYI, I created a pull request for the scala part, see #55

@fehguy
Copy link
Contributor

fehguy commented Aug 22, 2012

should be addressed in 1.1.0, please reopen if you see issues still

@fehguy fehguy closed this as completed Aug 22, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants