关于spring:SpringMVC上传文件报错Error-bean-with-name-multipartResolver

48次阅读

共计 261 个字符,预计需要花费 1 分钟才能阅读完成。

问题:SpringMVC 上传文件报错:Error creating bean with name ‘multipartResolver’: Lookup method resolution failed; nested exception

解决
导入 commons-fileupload 依赖

<dependency>
      <groupId>commons-fileupload</groupId>
      <artifactId>commons-fileupload</artifactId>
     <version>1.3.3</version>
    </dependency>

正文完
 0