maproulette-backend icon indicating copy to clipboard operation
maproulette-backend copied to clipboard

Update to Play 2.9

Open ljdelight opened this issue 1 year ago • 2 comments

Update sbt, plugins, and other dependencies to support running with Play 2.9 because Play 2.8 is out of support at the end of May 2024.

See here for more information https://www.playframework.com/documentation/2.9.x/Highlights29.

Specifically the updates are:

  • build.properties sbt version is updated from 1.7.2 to 1.9.9
  • project/plugins.sbt Play sbt plugin is updated from 2.8.21 to 2.9.3.
  • build.sbt supporting dependencies
    • sangria-play-json: 2.0.1 -> 2.0.2
    • sangria: 2.0.1 -> 4.0.2
    • play-json-joda: 2.8.2 -> 2.10.5
    • play-json: 2.8.2 -> 2.10.5
    • joda-time: 2.12.0 -> 2.12.7

ljdelight avatar May 20 '24 00:05 ljdelight

This failed in staging from the below graphql error. It works fine locally on mac/aarch64. More testing is needed...

Oops, cannot start the server.
com.google.inject.CreationException: Unable to create injector, see the following errors:

1) [Guice/ErrorInjectingConstructor]: NoSuchMethodError: 'scala.Some JsBoolean$.unapply(JsBoolean)'
  at GraphQL.<init>(GraphQL.scala:17)
  at GraphQLController.<init>(GraphQLController.scala:33)
      \_ for 1st parameter graphQL

ljdelight avatar May 20 '24 04:05 ljdelight

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

sonarqubecloud[bot] avatar May 25 '24 19:05 sonarqubecloud[bot]

I resolved the issue. I'll close this PR and make a new one so I don't have to copy the updated description

ljdelight avatar May 25 '24 19:05 ljdelight