Unable to resolve reverse routing methods in IntelliJ

前端 未结 7 1015
粉色の甜心
粉色の甜心 2020-12-14 10:10

I\'m following one of the play framework tutorials, but I\'m getting compile errors whenever I try to use reverse routing. Firstly,

public static Result java         


        
7条回答
  •  一个人的身影
    2020-12-14 10:43

    I was running into the same problem and found the solution here: https://github.com/playframework/Play20/issues/969

    In short:

    • Create the directories javascript and ref under the controllers package
    • Run activator compile and now Intellij should get it // used to be 'play compile'
    • If you still got the errors try to run activator idea again // used to be 'play compile'*

提交回复
热议问题