错误信息:
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去掉不要设置值