[spring] upgrade to spring 4