RESTful Api using gradle, maven, spring-mvc