![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
异常
cplsm
这个作者很懒,什么都没留下…
展开
-
resttemplate get请求参数获取不到
HttpMessageConvert messageConvert = HttpMessageFactory.getMessageConvert(request);MultiValueMap<String, String> params = messageConvert.getParams(); // get请求参数需要做处理 UriComponentsBuilder from...原创 2020-03-19 11:45:48 · 1104 阅读 · 0 评论 -
No HttpMessageConverter for java.util.HashMap and content type application/x-www-form-urlencoded
是因为用了HashMap来作为body传递 解析转换不了,换成 MultiValueMap就ok了。????收工原创 2020-03-10 17:30:53 · 24979 阅读 · 3 评论 -
error: with modifiers "public static"
异常如下:Exception in thread “main” java.lang.IllegalAccessException: Classorg.springframework.boot.loader.MainMethodRunner can not access amember of class com.freight.FreightApplication with modifier...原创 2019-11-26 16:51:57 · 1145 阅读 · 0 评论