首页 > 编程语言 >idea报错:No primary or single public constructor found for interface java.util.List - and no default c

idea报错:No primary or single public constructor found for interface java.util.List - and no default c

时间:2022-10-15 14:24:31浏览次数:59  
标签:No idea single 报错 constructor found

原因:

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

解决:

加上注解:

 

标签:No,idea,single,报错,constructor,found
From: https://www.cnblogs.com/sx-zhengjie/p/16794134.html

相关文章