Resolve .gitignore problem with spring