java.lang.NoSuchMethodException: java.util.List.<init>() 此异常为未明确到接收类型,在请求方法中添加@RequestParam注解明确参数类型即可@RequestParam(value = "cids",required=true)
public ResponseEntity<Void> saveBrand(BrandModel bs, @RequestParam(value = "cids",required=true) List<Long> cids){
java.lang.NoSuchMethodException: java.util.List.<init>() 问题解决
最新推荐文章于 2022-04-24 11:56:21 发布