Fixed issue with Spring context creation