org.springframework.web.bind.MissingServletRequestParameterException: Required String parameter 'clientid' is not present
时间: 2023-11-24 07:50:58 浏览: 124
引用\[1\]中的错误信息提示是"org.springframework.web.bind.MissingServletRequestParameterException: Required request parameter 'xxx' for method parameter type String is not present",这个错误通常是因为在访问某个Controller链接接口时,缺少了必需的请求参数。而引用\[3\]中的代码片段显示了一个接口ClientDetailsService,它是用来提供有关OAuth2客户端的详细信息的服务。根据这些信息,可以推断出问题可能是由于缺少了名为'clientid'的必需请求参数导致的。因此,解决这个问题的方法是在请求中添加名为'clientid'的参数。
#### 引用[.reference_title]
- *1* [【SpringMVC】Required request parameter ‘xxx‘ for method parameter type String is not present](https://blog.csdn.net/ooppookid/article/details/120227088)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [springboot实现oauth2源码解读](https://blog.csdn.net/zoeou/article/details/104110396)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文