我完全被GWT問題弄得一團糟,並且不知道如何解釋GWT日誌或如何解決問題。我正在做一個相當平凡的模板項目。我升級到2.3.0 GWT和我現在遇到了以下問題使用Maven的GWT-插件編譯模塊時:問題升級到GWT 2.3.0
[INFO] --- gwt-maven-plugin:2.3.0:compile (default) @ gaewebtemplate ---
[INFO] auto discovered modules [stuff.gaegwttemplate.Main, stuff.gaegwttemplate.security.SecurityRequest]
[INFO] Loading inherited module 'com.google.gwt.activity.Activity'
[INFO] Loading inherited module 'com.google.gwt.place.Place'
[INFO] Loading inherited module 'com.google.gwt.user.User'
[INFO] Loading inherited module 'com.google.gwt.animation.Animation'
[INFO] Loading inherited module 'com.google.gwt.core.Core'
[INFO] Loading inherited module 'com.google.gwt.core.CrossSiteIframeLinker'
[INFO] [ERROR] Unable to load class 'com.google.gwt.core.linker.DirectInstallLinker'
[INFO] java.lang.ClassNotFoundException: com.google.gwt.core.linker.DirectInstallLinker
<巨大的堆棧跟蹤刪除>
[INFO] [ERROR] Failure while parsing XML
[INFO] com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
<巨大棧跟蹤除去>
[INFO] [ERROR] Unexpected error while processing XML
[INFO] com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
兩個堆棧跟蹤和神祕的錯誤消息上面。然後重複的頁之後創建頁面(據我可以告訴)完全無用的日誌信息。
有人知道這裏可能會發生什麼嗎?任何想法什麼記錄谷歌在這裏使用的「策略」:)。
我在從2.3.0更新到2.4.0時也遇到了這個問題,並且驗證了gwt-dev,gwt-user和gwt-servlet都在同一版本上。任何人有任何線索? – user469243
我也有同樣的問題,從2.3到2.4,並且來自@ twelve17的答案也在這裏工作,也就是我所要做的就是修改我的pom,以確保gwt-maven-plugin的版本至少和新版一樣gwt-servlet等等,也就是說我一直在使用gwt-maven-plugin的2.3版本並將其更新到2.4.0。 –