When running the project after making changes for spring data jdbc getting error:
java.lang.IllegalStateException: Cannot set property id because no setter, no wither and it's not part of the persistence constructor private com.example.tacos.domain.Ingredient()
at line ingredientRepository.findAll().forEach(i -> ingredients.add(i));
When running the project after making changes for spring data jdbc getting error:
java.lang.IllegalStateException: Cannot set property id because no setter, no wither and it's not part of the persistence constructor private com.example.tacos.domain.Ingredient()
at line ingredientRepository.findAll().forEach(i -> ingredients.add(i));