Change dependency scope of spring-context to 'provided'.