public AlbumRepositoryPopulator() { ObjectMapper mapper = new ObjectMapper(); mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false); resourceReader = new Jackson2ResourceReader(mapper); sourceData = new ClassPathResource("albums.json"); }