
Fix Play Framework Compile Errors After Upgrading sbt
Fix the compile and resolution errors that follow a Play Framework or sbt upgrade, from the moved plugin group ID to the Akka to Pekko package change.
Stateless, asynchronous web apps on the JVM, routes to Akka-style streaming.

Fix the compile and resolution errors that follow a Play Framework or sbt upgrade, from the moved plugin group ID to the Akka to Pekko package change.

Create a Play Framework application in Java with sbt, add a route, a controller and a template, run it in dev mode and read what Play generates.

How Play handles a request through the Pekko HTTP server, router, filters and actions, and how action composition adds behavior such as authentication.

Build a small JSON REST API in Play with routes, controllers that read and return JSON, validation and consistent error responses.

Add a database to a Play application with the Ebean plugin or with JPA and Hibernate, configure the connection and pick the one that fits your team.

Write Twirl templates for a Play application, with typed parameters, loops, conditions, layouts and reusable partials, and see how they compile to Java.

Test a Play application with JUnit, from plain controller unit tests to full-application tests that route fake HTTP requests and use an embedded server.

Package a Play application with sbt dist or a Docker image, set the secret key and allowed hosts, and run it behind a reverse proxy in production.

Understand how sbt builds a Play Framework project: build.sbt, the Play plugin, key commands, dependencies, run and test tasks and multi project layouts.

What Play Framework 3 changed: Akka replaced by Apache Pekko after the Akka licence change, the package and config renames, and how to plan an upgrade.

Migrate a Play 2.8 application to Play 3: go through 2.9 first, update sbt and Java, swap Akka for Pekko, fix removed APIs and verify before deploying.

Compare Play Framework and Spring Boot for reactive APIs: programming model, async support, ecosystem, tooling, hot reload and when each is the better choice.
We send one email when a new post is published. No spam.