upgrade to spring 4 and hiberante 4 versions