Monday, March 27, 2017

Re: Errors in UIBinder XML files

It's strange:

  • When I create a project inside eclipse, no error is shown in my *ui.xml file.
  • When I create a project with maven and import it into eclipse, the same ui.xml file produces the validation error.
The validation settings are the same in both projects. I noticed some differences in the "Builders" section of the project settings, e. g. there is a builder called "Validation", which is enabled in the maven-created project and not enabled in the eclipse-created project.
However, even when I remove all ot the builders, the error remains (after building manually or refreshing)

This is an ui.xml-file which shows the error at the g:MenuItemSeparator element:

<!DOCTYPE ui:UiBinder SYSTEM "">
<ui:UiBinder xmlns:ui=""
.important {
font-weight: bold;

<g:MenuBar ui:field="menuBar">

  <g:MenuItem   ui:field="itm_Account" text="Account">
   <g:MenuBar   vertical="true">
    <g:MenuItem ui:field="itm_Login" text="Login"/>
    <g:MenuItem ui:field="itm_Logout" text="Logout"/>
    <g:MenuItemSeparator ui:field="itm_Logou111" />
    <g:MenuItem ui:field="itm_Registration" text="Registration"/>


I need a solution, because having the red error symbols in eclipse is boring and may hide real errors...


You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment