You probably have an index with the same name but different option (like different expire option)
You can find it with: db.collectionName.getIndexes()
and the drop it to let Spring create it, or change the options in Spring to match the existing one