我想上传一个.png文件和存储that.when -我发送它与内容类型=多部分/表单-数据,我收到这个异常
org.springframework.web.HttpMediaTypeNotSupportedException: Content type
'application/octet-stream' not supported .
我认为我的应用程序不理解表单数据contentType,并且抛出了一个不相关的异常。怎么了?
@Controller
public class ProfileController {
private st