![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
黎明艾
医疗图像AI处理方向硕士、ChatGPT、AI启航探索!
展开
-
springboot状态码返回406,问题描述:Could not find acceptable representation
首先我先百度了一下406含义,并结合其他博主的文章,分析出我个人的情况springboot在响应controller接口的时候,应该没有返回post请求中的json格式数据(或者是无法返回)。从上述代码看出,我返回了Result对象,应该会被springboot封装成一个json对象,再返回给前端了,但是这里应该出了问题。排查一下,果然Result类中忘记添加getter和setter方法,加上getter和setter方法后,请求成功了。...原创 2022-07-15 19:37:46 · 1035 阅读 · 0 评论 -
关于windows系统中txt文档的换行符\r\n
\r\n的含义原创 2022-05-26 20:18:04 · 9389 阅读 · 0 评论