Bug#941685: libspring-java: FTBFS package org.hibernate.validator.method does not exist

Ryan Tandy ryan at nardis.ca
Tue Nov 19 01:50:40 GMT 2019


Control: tag -1 ftbfs upstream fixed-upstream patch

The cleanest way to fix this would be upgrading Spring to 5.0 or later, 
which drops the build-dependency on hibernate-validator 4.x and strictly 
requires validation-api 1.1 and hibernate-validator 5.x.

In case that's not possible in the near term, I attach here a patch 
consisting of changes backported from upstream to remove the code 
depending on hibernate-validator 4.x.

I did successfully run the unit tests of o.s.validation.beanvalidation.* 
with my patch applied, but it needed so much hacking that I don't 
entirely trust the result. I have not yet tested an actual application 
using the bean validation feature from the installed package, and I 
won't open an MR until I've done that.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-FTBFS-with-Hibernate-Validator-5.x.patch
Type: text/x-diff
Size: 17243 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20191118/0e89dd98/attachment.patch>


More information about the pkg-java-maintainers mailing list