I've encountered an issue when upgrading from Spring Boot 2.4.1 to 2.4.2. I can't determine if it is an actual issue with Spring Boot or a dependency.
I have a Spring Data repository that returns an object with a Duration field which is stored in the database as a String. In Spring Boot 2.4.1 the object is created and returned successfully. After upgrading to Spring Boot 2.4.2, the following exception is thrown:
org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type [java.lang.String] to type [java.time.Duration]
I've created a project that demonstrates the issue here: https://github.com/dmkeen/spring-boot-2.4.2-issue