Unable to resolve reverse routing methods in IntelliJ

前端 未结 7 998
粉色の甜心
粉色の甜心 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:31

    For people using Play 2.4.x or above, it seems that Play no longer produces reverse routing files for javascript in src_managed et al.

    Instead, you need to include scala-2.xx/routes/main directory as Sources.

提交回复
热议问题