Como limpiar cache de maven para evitar posibles errores:
Para limpiar la cache de maven usamos el siguiente comando:
mvn clean install -U
Spring | clean cache