Is gwt-gadgets compatible with gwt 2.2? Perhaps you must compile gwt-gadgets
sources with gwt 2.2 for use in your project.


2011/4/8 dicko <d...@mothdesign.com.au>

> 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] Unexpected
> java.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.java:
> 48)
>        at
>
> com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(GeneratorExtWrapper.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.java:
> 259)
>        at
>
> com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:
> 248)
>        at
>
> com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(DistillerRebindPermutationOracle.java:
> 91)
>        at
>
> com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:
> 505)
>        at
>
> com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:
> 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(CompileTaskRunner.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.
>
>

-- 
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