Intellij IDEA can not resolve symbol with Play framework

前端 未结 7 1329
太阳男子
太阳男子 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:33

    I could solve the problem by marking the generated code directories as the "Sources" folder. Go to File -> Project Structure -> "root" module -> Sources.

提交回复
热议问题