报错如下
Type Exception Report
Message Servlet.init() for servlet [spring-dispatcher] threw exception
Description The server encountered an unexpected condition that prevented it from fulfilling the request.
解决方案:
在pom.xml中注入依赖
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
<version>1.2.2</version>
</dependency>