idea报错:No primary or single public constructor found for interface java.util.List - and no default constructor found either] with root cause
原因:
忘记在controller层的传参的位置加上 @RequestParam 注解,导致参数未能传递过来
解决:
加上注解:

原因:
忘记在controller层的传参的位置加上 @RequestParam 注解,导致参数未能传递过来
解决:
加上注解:
