i get new Error with converter
javax.faces.component.UpdateModelException: java.lang.IllegalArgumentException: Cannot convert 5 of type class java.lang.Inte
I have no idea how your JSF code look like, but I suspect that you're using
instead of
Your SelectItem[] contains Integer groupId as item values. The value attribute of the h:selectOneMenu must then match this type. The exception message is telling exactly that. The value is submitted as an Integer, but the bean is expecting a Group.