JBoss EAP 7.1 + Spring Boot Application: No validator could be found for constraint 'javax.validation.constraints.NotBlank'
问题 I'm attempting to deploy a Spring Boot (2.0.2) application on JBoss EAP 7.1 server. The code that's causing the problem is: import javax.validation.constraints.NotBlank; import org.springframework.stereotype.Component; import org.springframework.validation.annotation.Validated; @Component @Validated public class AppProperties { @NotBlank private String name; When the application is deployed on JBoss I get the following exception: Error starting ApplicationContext. To display the conditions