Intellij IDEA can not resolve symbol with Play framework

前端 未结 7 1336
太阳男子
太阳男子 2020-12-03 02:58

I am using IDEA 13 with Play 2.2.1 and was doing the examples on the play site.

public static Result index() {
   return redirect(routes.Application.tasks())         


        
7条回答
  •  被撕碎了的回忆
    2020-12-03 03:18

    In my case running the sbt command from a user that doesn't have permission for the project you're entering sbt in. Clean up and then change folder permissions with chown -R yourUser /path/to/project and it should fix it. After that ./sbt compile

提交回复
热议问题