Make sure that spring is loaded in development only
Merge pull request #13199 from arunagw/spring-test-only-development

Make sure that spring is loaded in development only