启动报错:
Caused by: com.google.common.util.concurrent.ExecutionError:
Caused by: java.lang.NoClassDefFoundError: javax/validation/constraints/Min
at
Caused by: java.lang.ClassNotFoundException: javax.validation.constraints.Mincss
由于springboot 和 cloud 版本升级引起的
在工具类模块引入:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
问题解决,正常启动。