3
votes

With Play 2.4, after adding new modules for dependency injection, I got this error:

No implementation for play.api.Application was bound.

How to fix this?

1

1 Answers

5
votes

In application/conf:

play.modules.enabled = ...

should have been:

play.modules.enabled += ...

preserving Play's own module list including play.api.Application and appending to it instead of replacing.