Пишу простой код:
TextField<Integer> newIntField = new WebTextField<Integer>();
newIntField.setValue(1);
В строке newIntField.setValue(1); получаю ошибку:
ClassCastException: class java.lang.Integer cannot be cast to class java.lang.String
Как так?