springcloud
文章平均质量分 60
分布式微服务
会飞天的蜗牛
这个作者很懒,什么都没留下…
展开
-
基于SpringBoot bootstrap.yml配置未生效的解决
Error creating bean with name ‘systemParam’: Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder ‘SchedulePollingTime’ in value “${SchedulePollingTime}”补充知识:SpringBoot不读取bootstr原创 2021-10-21 19:28:10 · 3338 阅读 · 0 评论 -
nested exception is java.lang.IllegalStateException: Method has too many Body parameters:
1、feign多参数问题1.1GET方式错误写法@RequestMapping(value="/test", method=RequestMethod.GET)Modeltest(finalString name,finalint age);启动服务的时候,会报如下异常:Causedby:java.lang.IllegalStateException:MethodhastoomanyBodyparameters:publicabstractcom.chhliu.springboot.restful转载 2021-10-21 18:46:13 · 2154 阅读 · 0 评论 -
nested exception is java.lang.IllegalStateException: RequestParam.value() was empty on parameter 0
今天在打包部署升级微服务时遇到了一个异常,导致服务未能成功启动。本文将介绍这个异常的产生以及解决办法。一下时异常的内容:nested exception is java.lang.IllegalStateException: RequestParam.value() was empty on parameter 0这是一个非法状态异常。意思是说,第 0 个参数绑定的 value 值为空。也就是说第 0 个参数没有正确的绑定请求的参数映射中。一看到 RequestParam.value() 异常,我们原创 2021-10-21 18:35:08 · 8913 阅读 · 3 评论