Use the new `type` attribute of `@ConditionalOnWebApplication` for the configurations that have a hard dependency on the Servlet/MVC API. See gh-8118
Use the new `type` attribute of `@ConditionalOnWebApplication` for the configurations that have a hard dependency on the Servlet/MVC API. See gh-8118