You need to look beyond the application context (now) since it might still be of type GenericApplicationContext even in a webflux app.
You need to look beyond the application context (now) since it might still be of type GenericApplicationContext even in a webflux app.