jaikiran pai wrote:
Matt Drees wrote:
Ales Justin wrote:
but my test app is quite old so it failed to find some HibValidator class.
To get my app running I had to bundle org.hibernate:hibernate-validator-legacy:4.0.2.GA with my app. It was provided on AS6, I think, but it's not available on AS7, apparently.
The way classloading works in AS7 is different from what was in previous versions. Here's a quick intro:
...
Hi Jaikiran,
Thanks for the helpful info, but in this case that's not enough to solve the problem. The org.hibernate.validator module on AS7 only has org.hibernate:hibernate-validator:4.1.0.Final. It does not have org.hibernate:hibernate-validator-legacy:4.0.2.GA, which contains the class we're looking for here (org.hibernate.validator.InvalidValue).
Would you guys be willing to make available an org.hibernate.validator.legacy module or something?