build sample of Spring