| Correct the classpath of your application so that it contains a single, compatible version of org.springframework.boot.autoconfigure.web.ServerProperties$Servlet | |
问题描述: 项目中使用的spring-boot版本为:2.3.6.RELEASE,而spring-cloud版本为:Greenwich.SR6,二者不兼容导致服务启动的时候报以下错误:
| Correct the classpath of your application so that it contains a single, compatible version of org.springframework.boot.autoconfigure.web.ServerProperties$Servlet |
解决方法:参考[Correct the classpath of your application so that it contains a single](https://ask.youkuaiyun.com/questions/748223)

项目由于Spring Boot 2.3.6.RELEASE与Spring Cloud Greenwich.SR6的不兼容,导致服务启动失败。错误提示要求修正应用的类路径,使其包含单一兼容版本的`org.springframework.boot.autoconfigure.web.ServerProperties$Servlet`。解决方案是参照相关教程调整依赖版本,确保两者兼容。
939

被折叠的 条评论
为什么被折叠?



