Question: When JSR303 in springBoot checks the data, @Email bursts red
Solution: Add the 'spring-boot-starter-validation' dependency in the pom.xml file
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
Then you need to refresh Maven to see that dependencies have been injected
At this time, the @Email annotation will not become popular