Exception:No primary or single public constructor found for interface java.util.List - and no defaul
异常:No primary or single public constructor found for interface java.util.List - and no default constructor found either。原来是因为在接收前端接受来的 List 参数时,没有加 @RequestParam 注解导致,该注解不能省略。做项目的过程中,遇到了该异常信息。
·
做项目的过程中,遇到了该异常信息
异常:No primary or single public constructor found for interface java.util.List - and no default constructor found either
原来是因为在接收前端接受来的 List 参数时,没有加 @RequestParam 注解导致,该注解不能省略
后端接口图
apifox接口图
更多推荐
所有评论(0)