本了是 好好的,突然这样 原因分析 swagger版本和springboot出现了不兼容情况。 主要是引入了redisson-spring-boot-starter 导致排除掉spring-boot-starter-actuator即可