As of December 31, 2024, if you're following older Spring tutorials, you may run into this issue:
In the past, when you selected the "gateway" dependency in Spring Initializr, the artifact included was spring-cloud-starter-gateway-mvc. This worked for some older tutorials. However, this will not work now if the tutorial expects the reactive gateway.
If things start to fail and you're wondering why—this is likely the issue!
The correct artifact is spring-cloud-starter-gateway, which comes when you select "Reactive Gateway" in Spring Initializr.