原因:spring-cloud-starter-gateway已经包含了webmvc的功能,此时再引入spring-boot-starter-web会导致此问题。
解决:去掉spring-boot-starter-web的依赖,再进行mvn install
原因:spring-cloud-starter-gateway已经包含了webmvc的功能,此时再引入spring-boot-starter-web会导致此问题。
解决:去掉spring-boot-starter-web的依赖,再进行mvn install