错误信息:

java.lang.IllegalStateException: Current request is not of type [org.springframework.web.multipart.MultipartHttpServletRequest]: org.apache.catalina.connector.RequestFacade@1fa4d44b

 

错误位置:

注: MultipartHttpServletRequest : org.springframework.web.multipart.MultipartHttpServletRequest;

 

解决方案

这个问题是content-type设置的不对,把content-type去掉不要设置值

 

 

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐