ProvisionException using PlayFramework 2.4.2
问题 I am migrating a project from Play 2.2.4 to 2.4.2 and I am getting an exception which I am not able to understand and solve. Unexpected exception ProvisionException: Unable to provision, see the following errors: 1) Error injecting constructor, java.lang.NullPointerException at controllers.Application.<init>(Application.java:33) while locating controllers.Application for parameter 1 at router.Routes.<init>(Routes.scala:36) while locating router.Routes while locating play.api.inject