Looks like you're not using Spring Boot? This github (pet-clinic) project is done using Spring Boot. In Spring boot, almost all configurations are abstracted. This means that legacy configurations that are hidden from code are already configured. These include ViewResolver configurations, so you cannot see this from the code base.
source share