scala - 未找到操作 - 玩从 2.2 到 2.4 的迁移
问题描述
在运行 sbt 运行时:
sbt run -Dconfig.resource="modules/conf/application.conf"
(我的application.conf
文件在模块下。)
项目是一个多模块项目。
当我运行时http://localhost:9000
,它给了我“找不到操作”错误。
Action not found For request 'GET /' These routes have been tried, in this order:
如何解决这个问题?当我从 play 2.2 迁移到 2.6 时遇到了同样的错误,所以社区建议我逐步进行增量更新,所以我从 2.3 开始,现在我在 2.4 迁移,但问题仍然相同。请有人在这里帮助我。
解决方案
推荐阅读
- zoho - Zoho Deluge - 读取/获取票证附件内容
- javascript - JavaScript表单获取请求在填写时提交空值
- python - 如何使 try/except 循环直到为真
- python - PyCharm 弱警告:'来自外部范围的阴影名称'
- typescript - 将数据从测试上下文传递到 Jest 模拟的 ES6 类
- javascript - 在php mysql中使用jquery根据下拉列表中的选定选项自动完成多个文本框
- javascript - 如何强制一个联合的所有成员都将出现在一个对象数组中?如何将数组简化为以所有联合成员为键的对象?
- python - ModuleNotFoundError:没有名为“sklearn”python 的模块
- react-bootstrap - React-Bootstrap:如何使用不同的文本创建工具提示?
- html - 响应式画布保持 100% 的 div/屏幕大小