java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileItemFactoryerror while deploying spring file upload application on tomcat server.
While writing Spring RESTful Web Services test cases using
RestTemplate, I got below ClassNotFoundException. I believe something wrong with special character, because in the class name some question mark sign is appeared MappingJacksonHttpMessageConverte????r.
In last week I have written article on how to download file using spring controller. After publishing my article , One of my friend ask me why don't you write article on How to download File using Spring Rest Controller?
Because most of the developer required this functionality, specially those who are working on angular.js and using rest as a back-end. So here is the outcome, Please Follow below steps to download file from server side using Spring Restcontroller