I actually posted this same question on the hibernate forums, but also posting here in case someone here can help.
So I am trying to upgrade to Hibernate 3.6.0 (from 3.5.2). I'm using
JBoss 4.2, Spring 2.1, and the code contains a combination of hbm files and annotations and makes reference to ehcache as well. I can upgrade spring by the way, but I'd prefer not to just yet if I didn't have to.
Anyway, I seem to be unable to find the right combination of hibernate jars right now. The closest I came was with these:
I may not need all of those but JBoss seems to start without error with that combination. However my
unit tests fail on save operations with this stack trace:
At this point I started trying varying combinations of jars. Namely I tried upgrading to hibernate-validator-4.0.1.Final, but no matter what, I always seem to run into this error when starting up JBoss now:
I have no idea where org.hibernate.validator.ClassValidator is nor do I know who is requiring it.
Currently I am at a loss. Is this a jar dependency issue? If so, what jars do I need? If not, should I make any code changes? Any help would be greatly appreciated on this issue.