admin管理员组文章数量:1794759
springCloud Gateway 报错:Consider defining a bean of type 'org.springframework.http.codec.ServerC
看了很多文章都说跟springboot-starter-web有关系 需要移除依赖 但后来发现真正有问题的是eureka
如果是依赖父maven 最好查看是否有这个依赖 删除就解决问题 <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-eureka-server</artifactId> </dependency> <!-- localhost:9011/swagger-ui.html-->本文标签: 报错beantypedefiningSpringCloud
版权声明:本文标题:springCloud Gateway 报错:Consider defining a bean of type &#039;org.springframework.http.codec.ServerC 内容由林淑君副主任自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.xiehuijuan.com/baike/1686550231a80779.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论