michaellavelle / spring-data-dynamodb

Simplifies the development of creating an Amazon DynamoDB-based Java data access layer
https://derjust.github.io/spring-data-dynamodb/
Apache License 2.0
169 stars 284 forks source link

Possible to upgrade validation-api to 1.1.0 for support with spring-boot #43

Closed ShawnTuatara closed 9 years ago

ShawnTuatara commented 10 years ago

Started a new project with spring-boot and spring-boot-starter-web and added the spring-data-dynamodb dependency. Starter Web includes the hibernate validator but unfortunately that version only supports 1.1.0 of the validation-api. Had to manually exclude the validation-api dependency of this project to get things to work properly.

shivarajan commented 9 years ago

This change is breaking the build for us:

2014-10-29 22:30:40:484 PDT ERROR DispatcherServlet:492 - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.validation.beanvalidation.OptionalValidatorFactoryBean#0': Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.engine.ConfigurationImpl.getDefaultParameterNameProvider()Ljavax/validation/ParameterNameProvider; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1553)

shivarajan commented 9 years ago

However pointing to this version makes the error go away :

org.hibernate hibernate-validator 4.3.2.Final

Is there any particular reason spring-data-dynamodb release 1.0.0 can't be cut?