spring-cloud / spring-cloud/spring-cloud-gateway
Document that spring-cloud-gateway-mvc is not compatible with spring-cloud-gateway-core
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.9k
- Forks
- 3.5k
- Avg merge
- 20h 57m
- Merged PRs (30d)
- 8
Description
This is similar to #319 . Application created using http://start.spring.io with gateway dependency and with additional spring-cloud-gateway-mvc fails.
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-gateway-mvc</artifactId>
</dependency>
If spring-boot-starter-web is not compatible, then what is the purpose of this dependency?
Error:
Consider defining a bean of type 'org.springframework.http.codec.ServerCodecConfigurer' in your configuration.
Documentation: https://cloud.spring.io/spring-cloud-gateway/multi/multi__building_a_simple_gateway_using_spring_mvc_or_webflux.html
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the linked Spring Cloud Gateway documentation and the issue's spring-cloud-gateway-mvc dependency example, then review the related discussion in #319. Document the compatibility limitation and clarify the intended purpose of the dependency, using the reported ServerCodecConfigurer error as the behavior to explain.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring, spring-boot
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100