Hi, I'm also stuck here and can't migrate to GWT 2.1.
I replaced my old xercesImpl-2.6.2 with version 2.9.1 but to no avail. I see two incarnations of xercesImpl in my project: One directly (which I replaced) and one inside GWT (gwt-dev.jar, version unknown). I guess the version inside GWT is too old. Any ideas how to proceed? Thanks in advance, Herwig On 17 Nov., 18:44, Mency Woo <[email protected]> wrote: > I had a similar problem with compile error > > java.lang.AbstractMethodError: > org.apache.xerces.dom.ElementNSImpl.setUserData(Ljava/lang/ > String;Ljava/lang/Object;Lorg/w3c/dom/UserDataHandler;)Ljava/lang/ > Object; > at > com.google.gwt.uibinder.rebind.W3cDocumentBuilder.startElement(W3cDocumentB > uilder.java: > 130) > > which was fixed by upgrading xerces/xercesImpl.jar to 2.9.1 (and > making sure no other versions of xerces are in the classpath). > (refhttp://mojo.codehaus.org/gwt-maven-plugin/dependencies.html) > > On Nov 17, 8:51 am, pgraham <[email protected]> wrote: > > > > > Has anyone figured this out or created an issue? > > > If not, when I get some time I'll isolate the bug in a minimal project > > and create an issue but that might not happen for a few weeks. > > > On Nov 9, 5:15 am, hbf <[email protected]> wrote: > > > > Same problem on MacOS 10.6.4/Eclipse 3.6 with latest Google Plugin for > > > Eclipse. > > > > On Nov 5, 8:05 pm, pgraham <[email protected]> wrote: > > > > > Right, I suppose I should mention that I am running Kubuntu 10.04 64 > > > > bit, eclipse 3.6 > > > > with the lastest GPE. > > > > > On Nov 4, 2:11 pm, will0 <[email protected]> wrote: > > > > > > Same issue as pgraham on Ubuntu 10.04, eclipse 3.6. > > > > > This doesn't happen for eclipse 3.5 on the same machine. It also works > > > > > on Windows 7 ultimate 64bit, eclipse 3.6. > > > > > > On Nov 4, 3:36 am, Richard Berger <[email protected]> wrote: > > > > > > > OK, this won't help much, but... I was having the same problem just > > > > > > going through some basic tutorial usingUiBinderandGWT2.1. So, I > > > > > > redid everything, writing down each step - and, of course, the > > > > > > problem > > > > > > vanished. > > > > > > > So, there exists the possibility that2.1andUiBinderdo actually > > > > > > work together. > > > > > > > I can only offer the truly lame suggestion of restarting Eclipse to > > > > > > clean up any old invocations of the dev server. > > > > > > > Good luck, > > > > > > RB > > > > > > > On Nov 3, 8:34 am, pgraham <[email protected]> wrote: > > > > > > > > Update: > > > > > > > > I have commented out all code in the two files listed above so > > > > > > > that > > > > > > > they are as follows: > > > > > > > > MainMenu.ui.xml: > > > > > > > > <ui:UiBinderxmlns:ui="urn:ui:com.google.gwt.uibinder" > > > > > > > xmlns:g="urn:import:com.google.gwt.user.client.ui"> > > > > > > > > </ui:UiBinder> > > > > > > > > MainMenu.java: > > > > > > > > public class MainMenu extends Composite { > > > > > > > > interface Binder extendsUiBinder<Widget, MainMenu> {} > > > > > > > > private static BinderuiBinder=GWT.create(Binder.class); > > > > > > > > public MainMenu() { > > > > > > > initWidget(uiBinder.createAndBindUi(this)); > > > > > > > } > > > > > > > > } > > > > > > > > When I do this I get the same error so it is not related to the > > > > > > > content. > > > > > > > > At this point I am thinking that there is a version conflict with > > > > > > >xerces. Does anyone know if Dev Mode relies onxercesto parse > > > > > > > *.ui.xml files and if so which version? > > > > > > > > NOTE: I am using thegwt-maven-plugin to compile the app and it > > > > > > > works > > > > > > > fine if I compile it and deploy it in Tomcat > > > > > > > > Thanks, > > > > > > > Philip > > > > > > > > On Nov 2, 1:54 pm, pgraham <[email protected]> wrote: > > > > > > > > > MainMenu.ui.xml: > > > > > > > > > <ui:UiBinderxmlns:ui="urn:ui:com.google.gwt.uibinder" > > > > > > > > xmlns:g="urn:import:com.google.gwt.user.client.ui"> > > > > > > > > > <ui:with field="css" > > > > > > > > type="org.sitebrand.ui.gwt.resources.UiResources.MainMenuCss" /> > > > > > > > > <ui:with field="lbls" > > > > > > > > type="org.sitebrand.ui.gwt.resources.MainMenuLbls" /> > > > > > > > > <ui:with field="debugIds" > > > > > > > > type="org.sitebrand.gwt.constants.DebugConstants" /> > > > > > > > > > <g:MenuBar stylePrimaryName="{css.primary}"> > > > > > > > > <g:MenuItem ui:field="campaigns" > > > > > > > > debugId="{debugIds.menuitem_campaigns}" text="{lbls.campaigns}"> > > > > > > > > <g:MenuBar vertical="true"> > > > > > > > > <g:MenuItem ui:field="createCampaign" > > > > > > > > text="{lbls.createCampaign}" /> > > > > > > > > <g:MenuItem ui:field="viewCampaigns" > > > > > > > > text="{lbls.viewCampaigns}" /> > > > > > > > > <g:MenuItem ui:field="campaignPriority" > > > > > > > > text="{lbls.campaignPriority}" /> > > > > > > > > <g:MenuItem ui:field="reports" > > > > > > > > text="{lbls.reports}" /> > > > > > > > > </g:MenuBar> > > > > > > > > </g:MenuItem> > > > > > > > > > <g:MenuItem ui:field="content" > > > > > > > > debugId="{debugIds.menuitem_content}" text="{lbls.content}"> > > > > > > > > <g:MenuBar vertical="true"> > > > > > > > > <g:MenuItem > > > > > > > > ui:field="createContent" > > > > > > > > text="{lbls.createContent}" /> > > > > > > > > <g:MenuItem > > > > > > > > ui:field="viewContent" > > > > > > > > text="{lbls.viewContent}" /> > > > > > > > > <g:MenuItem > > > > > > > > ui:field="integrate" > > > > > > > > text="{lbls.integrate}" /> > > > > > > > > </g:MenuBar> > > > > > > > > </g:MenuItem> > > > > > > > > > <g:MenuItem ui:field="segments" > > > > > > > > debugId="{debugIds.menuitem_segments}" text="{lbls.segments}"> > > > > > > > > <g:MenuBar vertical="true"> > > > > > > > > <g:MenuItem > > > > > > > > ui:field="createSegment" > > > > > > > > text="{lbls.createSegment}" /> > > > > > > > > <g:MenuItem > > > > > > > > ui:field="viewSegments" > > > > > > > > text="{lbls.viewSegments}" /> > > > > > > > > </g:MenuBar> > > > > > > > > </g:MenuItem> > > > > > > > > > <g:MenuItem ui:field="layout" > > > > > > > > debugId="{debugIds.menuitem_layout}" text="{lbls.layout}"> > > > > > > > > <g:MenuBar vertical="true"> > > > > > > > > <g:MenuItem > > > > > > > > ui:field="addTemplate" > > > > > > > > text="{lbls.addTemplate}" /> > > > > > > > > <g:MenuItem > > > > > > > > ui:field="viewTemplates" > > > > > > > > text="{lbls.viewTemplates}" /> > > > > > > > > </g:MenuBar> > > > > > > > > </g:MenuItem> > > > > > > > > > <g:MenuItem ui:field="account" > > > > > > > > debugId="{debugIds.menuitem_account_mgmt}" > > > > > > > > text="{lbls.account}"> > > > > > > > > <g:MenuBar vertical="true"> > > > > > > > > <g:MenuItem > > > > > > > > ui:field="myAccount" > > > > > > > > text="{lbls.myAccount}" /> > > > > > > > > <g:MenuItem > > > > > > > > ui:field="organizations" > > > > > > > > text="{lbls.organizations}" /> > > > > > > > > <g:MenuItem > > > > > > > > ui:field="sites" > > > > > > > > text="{lbls.sites}" /> > > > > > > > > <g:MenuItem > > > > > > > > ui:field="users" > > > > > > > > text="{lbls.users}" /> > > > > > > > > <g:MenuItem > > > > > > > > ui:field="globalSettings" > > > > > > > > text="{lbls.globalSettings}" /> > > > > > > > > </g:MenuBar> > > > > > > > > </g:MenuItem> > > > > > > > > > <g:MenuItem ui:field="help" > > > > > > > > debugId="{debugIds.menuitem_help}" > > > > > > > > text="{lbls.help}"> > > > > > > > > <g:MenuBar vertical="true"> > > > > > > > > <g:MenuItem > > > > > > > > ui:field="manual" > > > > > > > > text="{lbls.manual}" /> > > > > > > > > <g:MenuItem > > > > > > > > ui:field="support" > > > > > > > > text="{lbls.support}" /> > > > > > > > > </g:MenuBar> > > > > > > > > </g:MenuItem> > > > > > > > > </g:MenuBar> > > > > > > > > > </ui:UiBinder> > > > > > > > > > MainMenu.java: > > > > > > > > > public class MainMenu extends Composite { > > > > > > > > > /* > > > > > > > > * > > > > > > > > ========================================================================= > > > > > > > > *UiBinder > > > > > > > > * > > > > > > > > ========================================================================= > > > > > > > > */ > > > > > > > > > interface Binder extendsUiBinder<Widget, MainMenu> {} > > > > > > > > > private static BinderuiBinder=GWT.create(Binder.class); > > > > > > > > > static { > > > > > > > > getCss().ensureInjected(); > > > > > > > > } > > > > > > > > > @UiFactory > > > > > > > > public static MainMenuCss getCss() { > > > > > > > > return UiResources.INST.mainMenuCss(); > > > > > > > > } > > ... > > Erfahren Sie mehr » -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
