get请求出现:java.lang.IllegalStateException: No primary or single public constructor found for interface java.util.List - and no default constructor found either的报错信息,我这里遇到的问题是因为在get获取list数组的时候未加@RequestParam导致无法接收到会报错,将这个加上,就可以成功接收到list了,如下图
get请求出现:java.lang.IllegalStateException: No primary or single public constructor found for interface java.util.List - and no default constructor found either的报错信息,我这里遇到的问题是因为在get获取list数组的时候未加@RequestParam导致无法接收到会报错,将这个加上,就可以成功接收到list了,如下图