Skip to content

play-scala-hello-world-tutorial: compilation error with implicit value not found for assertsFinder #378

Description

@coocooyao

Hi, I am new to Scala / Play here. I am wondering if anyone could help me with the following issue I encountered when following along the hello world tutorial

Basically I am trying to add a new page. I followed the tutorial, added a new view, a new method in controller, and a new route. However, I am getting a compilation error showing:

play.sbt.PlayExceptions$CompilationException: Compilation error[could not find implicit value for parameter assetsFinder: controllers.AssetsFinder]
        at play.sbt.PlayExceptions$CompilationException$.apply(PlayExceptions.scala:34)
        at play.sbt.PlayExceptions$CompilationException$.apply(PlayExceptions.scala:34)
        at scala.Option.map(Option.scala:230)
        at play.sbt.run.PlayReload$.$anonfun$taskFailureHandler$8(PlayReload.scala:127)
        at scala.Option.map(Option.scala:230)
        at play.sbt.run.PlayReload$.taskFailureHandler(PlayReload.scala:100)
        at play.sbt.run.PlayReload$.compileFailure(PlayReload.scala:38)
        at play.sbt.run.PlayReload$.$anonfun$compile$3(PlayReload.scala:152)
        at scala.util.Either$LeftProjection.map(Either.scala:573)
        at play.sbt.run.PlayReload$.compile(PlayReload.scala:152)

[warn] Canceling execution...

Can someone help me figure out where went wrong please?

Code change:

https://github.com/coocooyao/play-samples/pull/1/files

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions