GWT generated UI Binder code says "Field xxx has no corresponding field in template file"

953 views
Skip to first unread message

slowpoison

unread,
Jul 1, 2011, 5:02:24 PM7/1/11
to google-we...@googlegroups.com
If I generate a new UI Binder, add a named field to the .xml template, in the .java file, the java compiler complains
"Field xxx has no corresponding field in template file"
The field is of-course defined in the .ui.xml template. Having said that, the code compiles fine. But, it's just annoying because my project shows errors and it makes it harder to navigate to real errors. Anybody else seeing the same issue? Resolution?

Here are the details of software installed on my Eclipse
  Google Web Toolkit SDK 2.3.0 2.3.0.r35v201105191506 com.google.gwt.eclipse.sdkbundle.e35.feature.feature.group
  GWT Designer 2.3.2.r35x201106201114 com.google.gdt.eclipse.designer.feature.feature.group
  WindowBuilder Core Documentation 1.0.0.r35x201106161114 org.eclipse.wb.doc.user.feature.feature.group
  WindowBuilder Core UI 1.0.0.r35x201106161114 org.eclipse.wb.core.ui.feature.feature.group
  Eclipse Platform 3.5.2 Eclipse Platform
  Google Plugin for Eclipse 3.5 2.3.2.r35v201106211634 com.google.gdt.eclipse.suite.e35.feature.feature.group

slowpoison

unread,
Jul 1, 2011, 7:01:59 PM7/1/11
to google-we...@googlegroups.com
On Friday, July 1, 2011 2:02:24 PM UTC-7, slowpoison wrote:
If I generate a new UI Binder, add a named field to the .xml template, in the .java file, the java compiler complains
"Field xxx has no corresponding field in template file"

Too bad I was only concentrating on compiling. This problem resolved itself after I pressed F11 to build and run in hosted mode.
Reply all
Reply to author
Forward
0 new messages