gpt4 book ai didi

java - 无法解析符号路由

转载 作者:塔克拉玛干 更新时间:2023-11-03 03:17:17 24 4
gpt4 key购买 nike

这个在 IntelliJ IDEA 14 中找不到的“路由”有什么问题?

Here

最佳答案

根据documentation :

For each controller used in the routes file, the router will generate a ‘reverse controller’ in the routes package, having the same action methods, with the same signature, but returning a play.mvc.Call instead of a play.mvc.Result.

反向 Controller 是在编译应用程序时生成的。因此,您需要编译您的应用程序,以便在您的 IDE 中访问这些类。为了确保 Idea 正确找到文件,您可以右键单击包含生成类的目标子目录并将其标记为源目录。

关于java - 无法解析符号路由,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27063562/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com