遇见的bug和解决方案
qq_39095899
这个作者很懒,什么都没留下…
展开
-
feign.FeignException: status 500 reading GoodsClient#querySkusBySpuId(Long);
feign.FeignException: status 500 reading GoodsClient#querySkusBySpuId(Long); content:{“timestamp”:“2020-09-23T05:35:38.834+0000”,“status”:500,“error”:“Internal Server Error”,“message”:“No message available”,“path”:"/goods/sku/list"}...原创 2020-09-24 13:49:28 · 1622 阅读 · 0 评论 -
feign.FeignException: status 404 reading GoodsClient#querySkusBySpuId(Long)
feign.FeignException: status 404 reading GoodsClient#querySkusBySpuId(Long)前言:做乐优商城的时候,讲数据库的数据导入到ES时报错报错信息feign.FeignException: status 404 reading GoodsClient#querySkusBySpuId(Long)本人也是在谷歌上查方法,看见一个最扯的方法就是把数据在重新导入,哈哈哈,我试了,没用。解决方案测试路径是不是有问题。没找到id原创 2020-09-24 13:43:07 · 318 阅读 · 0 评论 -
Failed to parse mapping [_doc]: Root mapping definition has unsupported parameters:
Failed to parse mapping [_doc]: Root mapping definition has unsupported parameters看请求路径如下:返回的错误信息{ "error": { "root_cause": [ { "type": "mapper_parsing_exception", "reason": "Root mapping definiti原创 2020-09-04 11:04:29 · 6937 阅读 · 0 评论 -
解决:Failed to load property source from:xxx/application.yml
不能加载application.yml配置文件报错信息中出现:Caused by: org.yaml.snakeyaml.error.YAMLException: java.nio.charset.MalformedInputException: Input length = 1字符格式应该不对所以启动不可主类。应该是你的配置文件yml中存在中文注解。如果没有就不会报错最简单的方法就是把中文注解给去掉。就不会报错了。这样就不会报错了。下面是我报错信息。java.lang.IllegalSta原创 2020-08-28 18:01:01 · 20589 阅读 · 3 评论