Required request body is missing: public com.anxin.framework.web.entity.AjaxResult com.anxin.company.staff.web.CompanyStaffController.export(com.anxin.company.staff.entity.CompanyStaff) at org.springframework.web.servlet.mvc.method.annotation.RequestResp
时间: 2023-11-28 20:06:25 浏览: 84
快递对应快递公司代码akuaidi公司代码.doc
回答: 根据提供的引用内容,你遇到的问题是"Required request body is missing"。这个错误通常发生在Spring MVC的控制器方法中,表示请求体缺失。在你的情况下,你的控制器方法是"public com.anxin.framework.web.entity.AjaxResult com.anxin.company.staff.web.CompanyStaffController.export(com.anxin.company.staff.entity.CompanyStaff)"。这个错误的原因可能是你在发送请求时没有包含请求体。你可以检查一下你的请求是否正确,并确保请求体中包含了所需的参数。
#### 引用[.reference_title]
- *1* *2* [MyBatis查询报错Error attempting to get column ‘x‘ from result Cause: ...](https://blog.csdn.net/qq_42320934/article/details/123371518)[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^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [.netcore3.1 设置可跨域](https://blog.csdn.net/puzi0315/article/details/104326328)[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^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文