我完全被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。 –