PlayStartApp icon indicating copy to clipboard operation
PlayStartApp copied to clipboard

Execution exception when submitting a new registration

Open pkarjala opened this issue 9 years ago • 3 comments

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:

screen shot 2015-04-26 at 1 54 32 pm

pkarjala avatar Apr 27 '15 00:04 pkarjala

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.

gphummer avatar May 27 '15 02:05 gphummer

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)]

playstartapp_error

Cyrille37 avatar Dec 27 '15 15:12 Cyrille37

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 ?

Cyrille37 avatar Dec 27 '15 15:12 Cyrille37