I already decided to use Anorm instead of EBean, but I guess I understood what the problem was and it was pretty stupid. I just needed to run:
play eclipse
in project directory after editing build.sbt file and refresh the project. This should fix the problem.