私は GWT-Platform で何かをしようとしましたが、このページの例に従ってください: http://code.google.com/p/gwt-platform/wiki/GettingStarted?tm=6シンプルでは機能しません。
次のエラーが発生しました。
java.lang.AssertionError: 内部エラー。updateHistory に渡された PlaceRequest がプレース階層の末尾と一致しません。com.gwtplatform.mvp.client.proxy.PlaceManagerImpl.updateHistory(PlaceManagerImpl.java:489) で com.gwtplatform.mvp.client.proxy.ProxyPlaceAbstract$3$1.execute(ProxyPlaceAbstract.java:208) で com.google.gwt .core.client.impl.SchedulerImpl$Task$.executeScheduled$(SchedulerImpl.java:50) com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:228) com.google.gwt .core.client.impl.SchedulerImpl.flushPostEventPumpCommands(SchedulerImpl.java:388) com.google.gwt.core.client.impl.SchedulerImpl$Flusher.execute(SchedulerImpl.java:78) com.google.gwt.core .client.impl.SchedulerImpl.execute(SchedulerImpl.java:138) at sun.reflect.
PlaceRequest を作成しようとすると。
PlaceManager がインジェクトされているために発生していると思いますが、どういうわけか、シングルトンほどではありませんが、wiki (http://code.google.com/p/gwt-platform/wiki/GettingStarted?tm=6# Binding_everything_together):
DefaultModule をインストールすると、次のバインディングをすべて実行する必要がなくなります。bind(TokenFormatter.class).to(ParameterTokenFormatter.class).in(Singleton.class); bind(RootPresenter.class).asEagerSingleton(); bind(PlaceManager.class).to(MyPlaceManager.class).in(Singleton.class); bind(GoogleAnalytics.class).to(GoogleAnalyticsImpl.class).in(Singleton.class);
プレースマネージャーはすでにシングルトンでなければなりません...しかし、それは単に機能しません。
誰かがこの問題を抱えていますか?