2015-03-18から1日間の記事一覧

spring-boot-batch-parentに依存したプロジェクトはconfigrationのバリデーションが行えない

ドキュメントには特に記載がないけれども、23.7.3 @ConfigurationProperties Validationの内容はバッチの作成時には使用できない。 使用するためにはbean validationを追加してあげる必要がある。 <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-validator</artifactId> </dependency> <dependency> <groupId>org.apache.tomcat.e</groupid></dependency>…