java.lang.NoSuchFieldError: Assets at >>> securesocial.core.services.RoutesService$Default.valueFor(RoutesService.scala:73) at >>> securesocial.core.services.RoutesService$Default.<init>(RoutesService.scala:80)

Google Groups | Matthew Chartier | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    java.lang.NoSuchFieldError: Assets when running as prod ('dist'), runs fine with 'run'

    Google Groups | 3 years ago | Matthew Chartier
    java.lang.NoSuchFieldError: Assets at >>> securesocial.core.services.RoutesService$Default.valueFor(RoutesService.scala:73) at >>> securesocial.core.services.RoutesService$Default.<init>(RoutesService.scala:80)

    Root Cause Analysis

    1. java.lang.NoSuchFieldError

      Assets at >>> securesocial.core.services.RoutesService$Default.valueFor(RoutesService.scala:73) at >>> securesocial.core.services.RoutesService$Default.<init>(RoutesService.scala:80)

      at controllers.CustomRoutesService.<init>()
    2. controllers
      CustomRoutesService.<init>
      1. controllers.CustomRoutesService.<init>(CustomLoginController.scala:17)
      1 frame
    3. Unknown
      AppInit$MyRuntimeEnvironment$.routes
      1. AppInit$MyRuntimeEnvironment$.routes$lzycompute(AppInit.scala:36)
      2. AppInit$MyRuntimeEnvironment$.routes(AppInit.scala:36)
      3. AppInit$MyRuntimeEnvironment$.routes(AppInit.scala:35)
      3 frames