Friday, April 27, 2012

Re: GWT portlet issue

Hello

I'm facing the same problem. Have you been able to solve the problem?

Thanks for any response

On Mar 17, 8:04 am, Nitheesh Chandran <nithe...@dotentreprise.com>
wrote:
> Hello ,
>
> I used gwt-portlets.jar file to create portlet in GWT. But i got
> compile time error like
>
> compiling module test.Testing2
>    [ERROR] Errors in 'jar:file:/home/user/Desktop/GWT%20PORTLET%20/gwt-
> portlets-0.0/gwt-portlets.jar!/org/gwtportlets/portlet/client/layout/
> LayoutUtil.java'
>       [ERROR]  Internal compiler error
> java.lang.IncompatibleClassChangeError: Found interface
> com.google.gwt.core.ext.typeinfo.JClassType, but class was expected
>         at
> org.gwtportlets.portlet.rebind.WidgetFactoryHelperGenerator.generate(Widget FactoryHelperGenerator.java:
> 58)
>         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:
> 647)
>         at
> com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:
> 41)
>         at com.google.gwt.dev.shell.StandardRebindOracle
> $Rebinder.rebind(StandardRebindOracle.java:78)
>         at
> com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.j ava:
> 268)
>         at
> com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.j ava:
> 257)
>         at
> com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAns wers(DistillerRebindPermutationOracle.java:
> 91)
>         at
> com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRe binds(WebModeCompilerFrontEnd.java:
> 96)
>         at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
> $CompilerImpl.process(AbstractCompiler.java:254)
>         at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:
> 444)
>         at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
> $CompilerImpl.compile(AbstractCompiler.java:173)
>         at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
> $CompilerImpl.compile(AbstractCompiler.java:288)
>         at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access
> $400(AbstractCompiler.java:139)
>         at
> com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:
> 588)
>         at
> com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations( BasicWebModeCompiler.java:
> 97)
>         at
> com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclaratio ns(WebModeCompilerFrontEnd.java:
> 52)
>         at
> com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScript Compiler.java:
> 569)
>         at
> com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.jav a:
> 33)
>         at com.google.gwt.dev.Precompile.precompile(Precompile.java:284)
>         at com.google.gwt.dev.Precompile.precompile(Precompile.java:233)
>         at com.google.gwt.dev.Precompile.precompile(Precompile.java:145)
>         at com.google.gwt.dev.Compiler.run(Compiler.java:232)
>         at com.google.gwt.dev.Compiler.run(Compiler.java:198)
>         at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
>         at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:
> 88)
>         at
> com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRu nner.java:
> 82)
>         at com.google.gwt.dev.Compiler.main(Compiler.java:177)
>
>    [ERROR] Unexpected internal compiler error
> java.lang.IncompatibleClassChangeError: Found interface
> com.google.gwt.core.ext.typeinfo.JClassType, but class was expected
>         at
> org.gwtportlets.portlet.rebind.WidgetFactoryHelperGenerator.generate(Widget FactoryHelperGenerator.java:
> 58)
>         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:
> 647)
>         at
> com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:
> 41)
>         at com.google.gwt.dev.shell.StandardRebindOracle
> $Rebinder.rebind(StandardRebindOracle.java:78)
>         at
> com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.j ava:
> 268)
>         at
> com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.j ava:
> 257)
>         at
> com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAns wers(DistillerRebindPermutationOracle.java:
> 91)
>         at
> com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRe binds(WebModeCompilerFrontEnd.java:
> 96)
>         at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
> $CompilerImpl.process(AbstractCompiler.java:254)
>         at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:
> 444)
>         at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
> $CompilerImpl.compile(AbstractCompiler.java:173)
>         at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
> $CompilerImpl.compile(AbstractCompiler.java:288)
>         at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access
> $400(AbstractCompiler.java:139)
>         at
> com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:
> 588)
>         at
> com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations( BasicWebModeCompiler.java:
> 97)
>         at
> com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclaratio ns(WebModeCompilerFrontEnd.java:
> 52)
>         at
> com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScript Compiler.java:
> 569)
>         at
> com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.jav a:
> 33)
>         at com.google.gwt.dev.Precompile.precompile(Precompile.java:284)
>         at com.google.gwt.dev.Precompile.precompile(Precompile.java:233)
>         at com.google.gwt.dev.Precompile.precompile(Precompile.java:145)
>         at com.google.gwt.dev.Compiler.run(Compiler.java:232)
>         at com.google.gwt.dev.Compiler.run(Compiler.java:198)
>         at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
>         at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:
> 88)
>         at
> com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRu nner.java:
> 82)
>         at com.google.gwt.dev.Compiler.main(Compiler.java:177)
>
> GWT 2.4.0 does not support gwt-portlets.jar ??

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment