Using @ModelAttribute Annotation can be used to map request parameters to a Java object. When Using Feign Client, Use @ Controlleradvice To Handle All the Unhandled Feignexception’s. Use @DataJpaTest to start JPA components and Repository beans and use @Import to load the service class itself.