Gwt ValueBoxEditorDecorator<;字符串>;不显示错误

Gwt ValueBoxEditorDecorator<;字符串>;不显示错误,gwt,Gwt,我的印象是ValueBoxEditorDecorator会在文本框的右侧显示错误。我正在运行这个代码。当发现错误时,我会收到一个警报框,但ValueBoxEditorDecorator没有显示任何内容 公共类AddressEditor扩展了复合实现编辑器HasEditorErrors { 私有静态最终绑定器Binder=GWT.create(Binder.class); @UiField ValueBoxEditorDecorator名称; 接口活页夹扩展了UiBinder{ } 公共地址编辑器

我的印象是ValueBoxEditorDecorator会在文本框的右侧显示错误。我正在运行这个代码。当发现错误时,我会收到一个警报框,但ValueBoxEditorDecorator没有显示任何内容

公共类AddressEditor扩展了复合实现编辑器HasEditorErrors
{
私有静态最终绑定器Binder=GWT.create(Binder.class);
@UiField ValueBoxEditorDecorator名称;
接口活页夹扩展了UiBinder{
}
公共地址编辑器(){
initWidget(binder.createAndBindUi(this));
}
@凌驾
公共无效错误(列表错误){
名称。错误(错误);
如果(errors.size()>0)
{
StringBuilder sb=新的StringBuilder();
对于(编辑错误e:错误)
{
sb.append(如getMessage());
}
警告(某人使用字符串());
}
}
这是XMLUI


编辑:

这是我的验证检测代码。也许我正在删除一些关于错误路径文件的数据

a=editorDriver.flush();
ValidatorFactory=Validation.byDefaultProvider().configure().buildValidatorFactory();
Validator Validator=factory.getValidator();
设置冲突=validator.validate(a);
@SuppressWarnings({“unchecked”,“rawtypes”})

Set找到了它。问题是我的JSR303注释在私有字段上,而不是在getter上