未来就是现在的延续,过去就是完成的现在

spring cloud feign:Caused by: java.lang.IllegalStateException: RequestParam.value() was empty on parameter 0

   报错之前:

@RequestMapping(value = "hi", method = RequestMethod.GET)
String hiService(@RequestParam String name);

修改之后:
@RequestMapping(value = "hi", method = RequestMethod.GET)
String hiService(@RequestParam(name = "name") String name);

问题解决
posted @ 2019-04-03 19:52  lzj123  阅读(2820)  评论(0编辑  收藏  举报