Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javax.validation.ConstraintViolationException

 
fabian verbeek
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm new and i use hibernate4 and spring 3. i try to use the validation but i receive the next error : javax.validation.ConstraintViolationException when i try to save



Here is my complete trace error
 
Rob Spoor
Sheriff
Pie
Posts: 20667
65
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
fabian verbeek wrote:
...

The propertyPath and messageTemplate give a hint about the error that occurred - the NotEmpty is violated. In other words, the userEmail property is either null or the empty string.
 
fabian verbeek
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In fact it's empty but how can i intercept the message and display the message error?
 
fabian verbeek
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no one can help me top make working this sample?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic