Troubleshooting

The application works as expected but when the code is added to one or more base packages, the reverse routing doesn't work.

The routes are compiled, so when you make changes to the controllers, the project should be recompiled. In this case, run the clean command and then compile the project. It is better to see whether the generated routing files reflect the changes made. If not, delete the target directory and compile the project.

Get Mastering Play Framework for Scala now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.