change spring-core from test to compile