Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
coocooyao opened this issue Jul 25, 2023 · 0 comments

Comments

@coocooyao
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant