For file upload I am trying to inject and use a Validator in my Spring Controller like this:
@RestController @RequestMapping(\"/api\") public class FileControlle
Autowire the interface of FileValidator(class) in your class FileController. Doing this will not require you to specify @Qualifier as mentioned below:
FileValidator(class)
FileController
@Autowired IFileValidator filevalidator;