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 10, 2013 at 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.

Michael Isvy June 10, 2013 at 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?

Hardy Ferentschik June 7, 2013 at 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.

Hardy Ferentschik June 7, 2013 at 9:11 AM

I've added an entry to the HV FAQ.

cool

Emmanuel Bernard June 7, 2013 at 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

Won't Fix

Details

Assignee

Reporter

Bug Testcase Reminder (view)

Bug reports should generally be accompanied by a test case!

Bug Testcase Reminder (edit)

Bug reports should generally be accompanied by a test case!

Participants

Emmanuel Bernard
Gunnar Morling
Hardy Ferentschik
Michael Isvy
WW1

Priority

Created May 4, 2013 at 2:00 AM
Updated February 17, 2014 at 10:48 AM
Resolved June 6, 2013 at 1:07 PM