This example is not actively maintained anymore. You can refer to the example with fixed version of Camunda 7.18. Due to Camunda Platform 7 backward compatibility, the examples usually still work with later versions. However, you might need to adjust them to make them work.
Or have a look at another Spring Boot Starter example: external-task-client/loan-granting-spring-boot-webapp.