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

Junit/Hibernate error: org.hibernate.HibernateException: Error applying BeanValidation

 
Dave Alvarado
Ranch Hand
Posts: 436
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm using Hibernate 4.1.5.SP1 and hibernate validator 4.3.0.Final. In my Junit (4.8.1) test (either through Maven or Eclipse), I'm unable to create a session factory. I try and create a session factory like so …



Here is the exception (after is my hibernate.cfg.xml) ...



And the hibernate.cfg.xml …



Any ideas what I'm leaving out? Thanks, - Dave
 
Bill Gorder
Bartender
Posts: 1682
7
Android IntelliJ IDE Linux Mac OS X Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try adding
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic