If you are generating your project from Spring Initializer then definatelyt you have chosen the maven. In that case, you just delete your m2 repository and download all dependencies again.