registration-login-spring-hsql
registration-login-spring-hsql copied to clipboard
Validation Errors are not displaying on Registration page
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Mon Dec 12 17:18:45 IST 2016 There was an unexpected error (type=Internal Server Error, status=500). No message found under code 'Size.userForm.username.userForm.username' for locale 'en_US'.
If you modify the name of the validation.properties
file to ValidationMesages.properties
, Spring will be able to find it.
You could also add spring.messages.basename=validation to your application.properties