Java 无法编译GWT客户端

Java 无法编译GWT客户端,java,gwt,atmosphere,Java,Gwt,Atmosphere,我正在尝试使用GWT在客户端创建氛围。 我补充说 atmosphere-annotations-2.4.3.jar atmosphere-gwt20-client-2.4.2.jar atmosphere-gwt-common-2.4.2.jar atmosphere-runtime-2.4.3.jar 到构建路径,插入 <inherits name="org.atmosphere.gwt20.AtmosphereGwt20"/> <inherits name='com.go

我正在尝试使用GWT在客户端创建氛围。 我补充说

atmosphere-annotations-2.4.3.jar
atmosphere-gwt20-client-2.4.2.jar
atmosphere-gwt-common-2.4.2.jar
atmosphere-runtime-2.4.3.jar
到构建路径,插入

<inherits name="org.atmosphere.gwt20.AtmosphereGwt20"/>
<inherits name='com.google.gwt.core.Core'/>
<inherits name="com.google.web.bindery.autobean.AutoBean"/>
在GWT编译时,我得到

Caused by: java.lang.NoSuchMethodError: com.google.gwt.user.rebind.rpc.SerializableTypeOracleBuilder.<init>(Lcom/google/gwt/core/ext/TreeLogger;Lcom/google/gwt/core/ext/PropertyOracle;Lcom/google/gwt/core/ext/GeneratorContext;)V
     [java]     at org.atmosphere.gwt20.rebind.SerializerGenerator.generateIncrementally(SerializerGenerator.java:87)
     [java]     at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:754)
     [java]     at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:160)
     [java]     at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:79)
     [java]     at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:276)
     [java]     at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:265)
     [java]     at com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(DistillerRebindPermutationOracle.java:87)
     [java]     at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.createStaticRebindExpression(UnifyAst.java:485)
     [java]     at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.createRebindExpression(UnifyAst.java:443)
     [java]     at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.handleMagicMethodCall(UnifyAst.java:576)
     [java]     at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.endVisit(UnifyAst.java:306)
     [java]     at com.google.gwt.dev.jjs.ast.JMethodCall.traverse(JMethodCall.java:248)
     [java]     at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:381)
     [java]     at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:293)
     [java]     ... 40 more
     [java]       [ERROR] at FilePresenter.java(137): GWT.create(RPCSerializer.class)
     [java]          com.google.gwt.dev.jjs.ast.JMethodCall
     [java]       [ERROR] at FilePresenter.java(137): (RPCSerializer) GWT.create(RPCSerializer.class)
     [java]          com.google.gwt.dev.jjs.ast.JCastOperation
     [java]       [ERROR] at FilePresenter.java(137): RPCSerializer rpc_serializer = (RPCSerializer) GWT.create(RPCSerializer.class)
     [java]          com.google.gwt.dev.jjs.ast.JDeclarationStatement
     [java]       [ERROR] at FilePresenter.java(122): {

我遵循了GWT的示例代码。我遗漏了什么?

项目似乎在GWT2.7方面存在问题。在某个地方,我找到了使用客户机jar版本2.3.2-get27编译它的建议,它可以使用jar

atmosphere-annotations-2.4.3.jar
atmosphere-gwt20-client-2.3.2-gwt27.jar
atmosphere-gwt20-common-2.3.2-gwt27.jar
atmosphere-runtime-2.4.3.jar
只有

<inherits name="org.atmosphere.gwt20.AtmosphereGwt20"/>

它仍然是空的,但这是另一个需要考虑的问题(我想)

如果您愿意使用早期版本,我已经看到atmosphere gwt客户机在版本2.4.0之前运行良好。即使我在最新版本2.4.2/2.4.3中也看到了同样的异常,如果我找到了解决方案/解决方法,它也会更新您
atmosphere-annotations-2.4.3.jar
atmosphere-gwt20-client-2.3.2-gwt27.jar
atmosphere-gwt20-common-2.3.2-gwt27.jar
atmosphere-runtime-2.4.3.jar
<inherits name="org.atmosphere.gwt20.AtmosphereGwt20"/>
Atmosphere atmosphere = Atmosphere.create();