9 Replies Latest reply on Jul 10, 2012 5:05 AM by Ravikumar S

    Getting some exceptions while uploading a file using Spring 3 MVC!

    Ravikumar S Newbie



      I have come across a requirement to upload a file in application. I am using SpringMVC3 File Upload feature. When I deploy the application after every configuration done required for file upload, I have been displayed with the below exception in service mix.


      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping#0': Initialization of bean failed; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class http://org.springframework.web.multipart.commons.CommonsMultipartResolver for bean with name 'multipartResolver' defined in URL bundle://614.0:0/WEB-INF/security-servlet.xml; nested exception is java.lang.ClassNotFoundException: org.springframework.web.multipart.commons.CommonsMultipartResolver not found from bundle


      Any help is highly appreciated.