![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java开发工具
邓国强-cd
一个注释写的很多的菜鸡
展开
-
No converter for [class xxx] Content-Type ‘appliction/octet-stream;charset=UTF-8‘ 的解决办法
报错的类:AbstractMessageConverterMethodProcessor报错的代码块报错原因respose在被传入其他的方法后,其content type 被篡改了,导致与request 的content type 不一致导致的解决方案一:将方法直接return null;解决方案二:在return 之前,将request 与response的content type 设置为一样...原创 2021-09-14 17:00:16 · 7361 阅读 · 1 评论 -
Swagger @Api position失效,解决解决接口排序问题(最简单版)
我在网上看了很多版本关于如何解决这个问题,但是都很复杂,现在提供一个最简单的方式Swagger依赖<dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.9.2</version></dependency><dependency> <原创 2021-05-19 10:50:21 · 4186 阅读 · 5 评论 -
IntelliJ IDEA 2018.3 如何设置本地被修改文件-----提示与svn资源库不同的文件颜色显示
IntelliJ IDEA 在老板本中设置修改文件被修改颜色提示与2018.3不同,这里介绍2018.3版本的修改方式:原创 2018-12-11 10:50:35 · 2837 阅读 · 0 评论