https://exceptiondecoded.com/posts/spring-beannotofrequiredtypeexception/