0

プロジェクトを Google Plugin for Eclipse でコンパイルすると、次のエラーが表示されます。

Computing all possible rebind results for 'org.restlet.example.gae.serialization.client.ContactResourceProxy'
         Rebinding org.restlet.example.gae.serialization.client.ContactResourceProxy
            Checking rule <generate-with class='org.restlet.rebind.ClientProxyGenerator'/>
               Checking if all subconditions are true (<all>)
                  <when-assignable class='org.restlet.client.resource.ClientProxy'/>
                     Yes, the requested type was assignable
                  Yes: All subconditions were true
            Rule was a match and will be used
            Invoking generator org.restlet.rebind.ClientProxyGenerator
   [ERROR] Errors in 'file:/D:/workspace/ehelios/org.restlet.example.gae.serialization/src/org/restlet/example/gae/serialization/client/Serialization.java'
      [ERROR]  Internal compiler error
java.lang.IncompatibleClassChangeError: Found interface com.google.gwt.core.ext.typeinfo.JClassType, but class was expected
    at org.restlet.rebind.ClientProxyGenerator.generate(ClientProxyGenerator.java:206)
    at com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java:48)
4

2 に答える 2

0

Restlet 2.1 M3は、GWT2.2のサポートを含めてリリースされたばかりです。お待ちいただきありがとうございます http://blog.noelios.com/2011/03/31/restlet-framework-2-1-m3-and-2-0-6-released/

于 2011-03-31T17:29:21.013 に答える
0

GWT 2.2は、多くのサードパーティライブラリを破壊しているという点で後方互換性がありません。この場合、RestletforGWTを使用しているようです。

このような場合、あなたの唯一の緊急の救済策は、ライブラリのソースをチェックアウトし、自分でビルドを行うことです。これはしばしば複雑または非現実的であるため、次善の策は、サードパーティがライブラリのGWT-2.2互換ビルドをリリースするのを待つことです。

特にRestletの場合、Restlet 2.1 M3が「来週」リリースされるまで、おそらくGWT2.1を使い続ける必要があります。

于 2011-03-03T17:12:57.513 に答える