This appears not to cause any problems with existing applications, but it seems inconsistent and results in a SpringApplication having webApplicationType=NONE in an integration test (per the logic in setApplicationContextClass() which is called by the test context loader).