项目启动swagger报错:java.lang.NoClassDefFoundError: javax/validation/constraints/Min
报错内容:java.lang.NoClassDefFoundError: javax/validation/constraints/Min
解决方法:添加依赖
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>