错误发生的地方

@DeleteMapping("{fileName:.+}")
    public SerializeObject delete(@RequestHeader String accessToken, @PathVariable String fileName) { 

请求地址

127.0.0.1:8100/storage/201804271613223700.PNG

异常信息如下

{
    "timestamp": 1524818476687,
    "status": 406,
    "error": "Not Acceptable",
    "exception": "org.springframework.web.HttpMediaTypeNotAcceptableException",
    "message": "Could not find acceptable representation",
    "path": "/storage/201804271613223700.PNG"
}

解决方法

 

暂时还没找到。。。。。。
暂时还没找到。。。。。。
暂时还没找到。。。。。。

  

相关文章: