https://github.com/spring-projects/spring-boot/commit/1342e4970a85a24eb07d955741f884392b79bb7e added spring-webmvc
to the classpath of the test application. Unfortunately, this had the unintended side-effect of causing Spring MVC's static resource support to be used rather than the embedded containers'. We need to remove spring-webmvc
from the test application's classpath and find a different way to test the negative match for @ConditionalOnWarDeployment
. It might be worth adding something that also check that Spring MVC hasn't been auto-configured so that we don't accidentally reintroduce the problem in the future.