coffee_fan (25) [Avatar] Offline
The listing in 2.15 reads:

public class WebConfig extends WebMvcConfigurerAdapter

It should read:

public class WebConfig implements WebMvcConfigurer

WebMvcConfigurer has default methods and as such WebMvcConfigurerAdapter is redundant and deprecated. Same goes for listing in page 52.
533716 (1) [Avatar] Offline
Listing 2.15 on page 51 does not work for me - it compiles, but when I visit http://localhost:8080 I get the error page. I changed to using WebMvcConfigurer, but that did not work for me either. However, the alternative (modifying the TacoCloudApplication class) on page 52 works for me with WebMvcConfigurerAdapter (I did not try WebMvcConfigurer) ...