You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Spring Boot 1.5, it is suggested to annotated configuration properties with @Validated. Unfortunately, it seems this is not possible to use @javax.validation.constraints.NotNull when spring-cloud-starter-kubernetes is in the classpath. As far as I can tell, only @NotNull (and @NotEmpty, @NotBlank and other validation annotations dependent on @NotNull) are affected
Since Spring Boot 1.5, it is suggested to annotated configuration properties with
@Validated
. Unfortunately, it seems this is not possible to use@javax.validation.constraints.NotNull
whenspring-cloud-starter-kubernetes
is in the classpath. As far as I can tell, only@NotNull
(and@NotEmpty
,@NotBlank
and other validation annotations dependent on@NotNull
) are affectedI have created a very small project to reproduce the issue: https://github.com/ThanksForAllTheFish/kube-cloud-sample
Quick workaround for the moment is to remove
@Validated
as it is not mandatory yet, but in the future this is going to changeThe text was updated successfully, but these errors were encountered: