Spring---Web MVC关于前台传值转换问题

Cannot convert value of type [java.lang.String] to required type [java.util.List].
问题在于:(String to Entity)
Post->types:0xxxx,1xxxx,2xxxx
 
Entity->List<Type> or Set<Type>
 
Type->必须要有有参构造函数存在才能被转换成功
例:
public Type(){}
public Type(String id){this.id=id}
原文地址:https://www.cnblogs.com/ysjshrine/p/5955576.html