Skip to content
This repository has been archived by the owner on Jan 19, 2019. It is now read-only.

Execution exception when submitting a new registration #14

Open
pkarjala opened this issue Apr 27, 2015 · 3 comments
Open

Execution exception when submitting a new registration #14

pkarjala opened this issue Apr 27, 2015 · 3 comments

Comments

@pkarjala
Copy link

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

@gphummer
Copy link

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.

@Cyrille37
Copy link

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
Copy link

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 ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants