Hi Community
I am learning play framework with scala and have setup environment with following configuration:
- JDK 13
- Scala v2.12.2
- Intellij Idea Ultimate.
- Intellij inbuilt sbt
Following documentation on Form Handling, I’ve made FormController to handle forms and corresponding userdata as its view.
On form submit getUserInfo() action from FormController should be called. But intellij is unable to reverse route the request to getUserInfo(), hence this function is red with build error:
Error:(28, 73) value getUserInfo is not a member of controllers.ReverseFormController
At this line:
@helper.form(action = routes.FormController.getUserInfo()) {
...
}
Please help me fix this issue.
Thanks and Regards