Monday, September 25, 2017

GWT 2.8.1 Super dev mode error uibinder

Hi all!

I tried to use super dev mode in my project, but faced with compilation problems.

There are a lot of error like 

Computing all possible rebind results for 'com.wktransportservices.wktsadmin.web.client.adminmodule.view.EventPopupDialog.EventPopupViewUiBinder'
            Rebinding com.wktransportservices.wktsadmin.web.client.adminmodule.view.EventPopupDialog.EventPopupViewUiBinder
               Invoking generator com.google.gwt.uibinder.rebind.UiBinderGenerator
                  [ERROR] Bad prefix on <null:HTML>? The root element must be in xml namespace "urn:ui:com.google.gwt.uibinder" (usually with prefix "ui:"), but this has prefix "null": <HTML> (:3)
         [ERROR] Errors in 'EventPopupDialog.java'
            [ERROR] Line 34: Failed to resolve 'EventPopupDialog.EventPopupViewUiBinder' via deferred binding

EventPopupDialog.ui.xml 

<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
xmlns:g="urn:import:com.google.gwt.user.client.ui"
xmlns:c="urn:import:com.wktransportservices.wktsadmin.library.widgets.client.custom">
<c:CustomFlowPanel addStyleNames="form-panel event-popup">
<g:FlowPanel addStyleNames="body" ui:field="eventsContainer">
<!-- Events will be put here -->
</g:FlowPanel>
<g:FlowPanel addStyleNames="manage-buttons">
<c:CustomButton i18nId="close" addStyleNames="manage-button primary-button" ui:field="closeButton"> </c:CustomButton>
</g:FlowPanel>

</c:CustomFlowPanel>
</ui:UiBinder>


I run via IntelliJ Idea 2017 with parameters

-port 7001 -logLevel TRACE -codeServerPort 7002  -noserver -war F:\dev\jetty-distribution-9.4.7.v20170914\jetty-distribution-9.4.7.v20170914\webapps

Could somebody point me right direction.

PS: package of files I've removed 

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment