Hi, at Syncope we are having troubles while making Spring Cloud Gateway 3.1.0 working with BVal 2.0.5 (rather than Hibernate Validator, which seems to be their default).
Essentially, the issue is with this annotation [1] leading to startup errors like as [2]. I have reached out to the Spring Cloud Gateway project, and they are claiming [3] the issue being on BVal not correctly loading their META-INF/services/javax.validation.ConstraintValidator [4]. Can you shed some light? Is it actually a bug on BVal or some kind of misconfiguration on their side? TIA. Regards. [1] https://github.com/spring-cloud/spring-cloud-gateway/blob/v3.1.0/spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/config/HttpClientProperties.java#L100 [2] https://github.com/spring-cloud/spring-cloud-gateway/pull/2389#issuecomment-1006773344 [3] https://github.com/spring-cloud/spring-cloud-gateway/pull/2389#issuecomment-1006781216 [4] https://github.com/spring-cloud/spring-cloud-gateway/blob/v3.1.0/spring-cloud-gateway-server/src/main/resources/META-INF/services/javax.validation.ConstraintValidator -- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tirasa.net/ Member at The Apache Software Foundation Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail http://home.apache.org/~ilgrosso/
