See here if you'd like to reproduce this issue:
When not including any EL dependency in my POM, I can browse all pages and only get an error when validating a form.
After including the EL dependencies, I then get a conflict between 2 versions of EL and I can't even access the application homepage anymore.
while true, it is much less likely to happen as Java EE application servers do define a specific Bean Validation version precisely to avoid this versioning hell
I've added an entry to the HV FAQ.
, I agree. At some stage one must just expect that the whole platform gets upgraded, otherwise you keep layer over layer of code just to keep some sort of backward compatibility.
@Emmanuel: so if I'm not mistaken, Tomcat 6 is based on JEE 5, which did not include bean validation.
So I would expect that we'll have the same problem with all JEE 5 servers such as Websphere 7, no?
Sure. But Java EE 5 is 7 years old. I think we can reasonably accept that Bean Validation and Hibernate Validator do not have to be retro compatible with a 7 years old design.