Question

The question is simple:

I am using Play Framework 2.2 and want to know how it's possible that when I add a dependency to build.sbt it won't include this library automatically to the project. I still have to manually go to the cache directory and include the jar from there and I don't think that's normal behavior, is it?

What am I doing wrong?

Procedure:

  • Add dependency to build.sbt
  • Run play dependencies and play update
  • Open project again, dependency still not included as a library which it should
Was it helpful?

Solution

After updating dependencies, all you need is to use play idea command again in your terminal. Then Idea will reload project with new dependencies.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top