Unable to resolve reverse routing methods in IntelliJ

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

    Pulled from a link provided by @Markus Kittig. Great temporary fix. https://github.com/playframework/playframework/issues/1784#issuecomment-26345523

    Synopsis: Add target/scala-XXX as a managed source and remove the app controllers and views sources flag inside File->Project Structure->Modules->Sources. Then recompile.

    Works on IntelliJ Ultimate 12.1.{4|6}. Created the play application with the command line interface and generated a project file using play idea. Used Play 2.2.0.

提交回复
热议问题