update to spring 4, changed java version from 6 to 7