PlayStartApp
PlayStartApp copied to clipboard
Execution exception when submitting a new registration
Just created a new application using
activator new PlayStartTestApp PlayStartApp
And configured mail.conf as directed. Then run activator run
to launch the application at localhost:9000
. The main page loads.
However, when registering a new user, the following exception occurs:
I get the same error. I'm guessing it's because the app hasn't been updated in over a year and new versions of Play/Scala have invalidated some old methods.
Hi, I get a similar error with a bad email/password :
http://localhost:9000/login Execution exception [IllegalStateException: JSR-303 validated property 'password' does not have a corresponding accessor for data binding - check your DataBinder's configuration (bean property versus direct field access)]
The solution is to generate gettters/setters in classes controllers.Application.Login and controllers.Application.Register.
Why they're not already exists or auto generated ?