spring-guides / getting-started-guides

Getting Started Guide template :: The template for new guides and also the place to request them.
https://github.com/spring-guides/getting-started-guides/wiki
Apache License 2.0
518 stars 204 forks source link

Spring Guide - Building a Gateway - https://spring.io/guides/gs/gateway/ #159

Closed girishyt closed 2 months ago

girishyt commented 7 months ago

I followed this guide and initialized the project from start.spring.io. I'm trying to create a new route using Java RouteLocator API but i can't find this class in the jar "spring-cloud-starter-gateway-mvc". Upon doing some research i found out that this class is part of "spring-cloud-starter-gateway" jar which is for a Reactive Cloud Gateway. The guide title and description says the example given is for non reactive. Please check.

Thanks

robertmcnees commented 2 months ago

Hi @girishyt. You are correct that the gateway guide had an issue with how we resolved the gateway dependency. This should be solved by the recently merged PRs in the gs-gateway project. As a reminder, please use the specific guide repositories when possible to open issues. Additional context for the root of the problem is located in those PRs.

This should now be fixed with the 2 recent PRs:

I'll close the issue as resolved. If you try and are still having difficulties, please submit a follow up issue in the gs-gateway repository and we can have another look.