Only include the minimal libraries to set up rest service by springmvc