Errata for Spring Boot

Here are all known errors or updates since the course was recorded.

  • In the REST chapter, we create two security setups using Inner Classes (one for REST, one for the website). If you want to use @Profiles, you will need to add the @Profile annotation to each of the Inner Classes.
  • In Chapter 6 you will get an IllegalArgumentException, approximately 13 min in. Spring 5 made some changes so the default is no longer plain text passwords. The solution is very simple. Add {noop} to the password String in SecurityConfiguration.java: auth.inMemoryAuthentication().withUser("rac").password("{noop}secret").roles("USER","ADMIN");