java.lang.IllegalStateException: No primary or single unique constructor found for interface java.util.List

 

 

错误:No primary or single unique constructor found for interface java.util.List(没有为List接口找到主要的或唯一的构造函数)

原因:请求的参数没有匹配上处理函数的参数

 

 

解决:为List参数添加@RequestParam注解即可

 

posted @ 2023-07-11 22:50  流年乱了沉浮。  阅读(4018)  评论(0)    收藏  举报
Document