File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javax.validation.ConstraintViolationException

 
fabian verbeek
Ranch Hand
Posts: 52
  • 0
  • 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: 20381
46
Chrome Eclipse IDE Java Windows
  • 0
  • 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
  • 0
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no one can help me top make working this sample?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic