Specified class is an interface

org.springframework.beans.BeanInstantiationException: Failed to instantiate [java.util.List]: Specified class is an interface

解决:

@RequestMapping(value= "/merchant/authority/button/add", method = RequestMethod.POST)
  public ObjectRestResponse addMerchantButtonAuthority(String groupId, String menuId,
      @RequestParam("buttonIdList") List<String> buttonIdList) {
    groupService.modifyAuthorityButton(groupId, menuId, buttonIdList);
    return new ObjectRestResponse().rel(true);
  }
@RequestParam("buttonIdList") List<String> buttonIdList,参数前面添加@RequestParam("buttonIdList")注解
原文地址:https://www.cnblogs.com/hzcya1995/p/13310564.html