replace gwt_servlet.jar with 2.2 version in your build path library.

On Apr 9, 12:17 pm, dicko <d...@mothdesign.com.au> wrote:
> Hi there,
>
> I've seen a few posts complaining about this error but they seem to
> refer to issues using the Maps.jar.  Anyway, I've recently updated the
> GWT plugin from 2.1 to 2.2 and can now no longer compile a gadget I've
> been building using the Gadgets plugin (gwt-gadgets.jar).  I'm
> receiving this error:
>
> [ERROR] Unexpectedjava.lang.IncompatibleClassChangeError: Found interface
> com.google.gwt.core.ext.typeinfo.JClassType, but class was expected
>         at
> com.google.gwt.gadgets.rebind.GadgetGenerator.validateType(GadgetGenerator.­java:
> 475)
>         at
> com.google.gwt.gadgets.rebind.GadgetGenerator.generate(GadgetGenerator.java­:
> 93)
>         at
> com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.ja­va:
> 48)
>         at
> com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(Generator­ExtWrapper.java:
> 60)
>         at
> com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally­(StandardGeneratorContext.java:
> 662)
>         at
> com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:
> 41)
>         at com.google.gwt.dev.shell.StandardRebindOracle
> $Rebinder.rebind(StandardRebindOracle.java:74)
>         at
> com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.j­ava:
> 259)
>         at
> com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.j­ava:
> 248)
>         at
> com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAns­wers(DistillerRebindPermutationOracle.java:
> 91)
>         at
> com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScript­Compiler.java:
> 505)
>         at
> com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.jav­a:
> 35)
>         at com.google.gwt.dev.Precompile.precompile(Precompile.java:541)
>         at com.google.gwt.dev.Precompile.precompile(Precompile.java:495)
>         at com.google.gwt.dev.Precompile.precompile(Precompile.java:407)
>         at com.google.gwt.dev.Compiler.run(Compiler.java:215)
>         at com.google.gwt.dev.Compiler.run(Compiler.java:187)
>         at com.google.gwt.dev.Compiler$1.run(Compiler.java:159)
>         at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:
> 87)
>         at
> com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRu­nner.java:
> 81)
>         at com.google.gwt.dev.Compiler.main(Compiler.java:166)
>
> Can anyone give me an idea of how this can be fixed or whether Google
> are working on this?  I've temporarily re-added the GWT 2.1 plugin but
> obviously this won't be a long-term solution as I'm assuming my code
> will become deprecated at some point.
>
> Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to