In my case, need spring 3 convert to spring 2, gradle is troublesome to change, consequently use example for spring 2, run successfullly.