EL dependency causes incompatibility with Tomcat 6

Description

See here if you'd like to reproduce this issue:
https://github.com/SpringSource/spring-petclinic/tree/hibernate-validator-5.0.1

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.

Environment

None

Activity

Show:
Emmanuel Bernard
June 7, 2013, 7:45 AM

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

Hardy Ferentschik
June 7, 2013, 9:11 AM

I've added an entry to the HV FAQ.

cool

Hardy Ferentschik
June 7, 2013, 9:15 AM

, 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.

Michael Isvy
June 10, 2013, 1:50 AM

@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?

Emmanuel Bernard
June 10, 2013, 4:18 AM

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.

Won't Fix

Assignee

Unassigned

Reporter

Michael Isvy

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Priority

Major
Configure