Monday, July 10, 2017

Re: Problems with Eclipse Oxygen and GWT Plugin

Hi,

Try installing Eclipse for Java Developers instead of the Java EE IDE for Web Developers.

You can add all Java EE plugins and GWT to the base IDE. That combination works well for me.

Regards,
Rodolfo M. Raya

On Fri, Jul 7, 2017 at 6:30 AM JP <isjupr@gmail.com> wrote:
Hello,

I have installed Eclipse Oxygen Release Java EE IDE for Web Developers (64 bit) and found GWT Eclipse Plugin 3.0.0 in the Marketplace.

After successfully installation of the plugin, I tried to create a new GWT Web Application Project without sampe code. The result was an error "Creation of element failed".

I tried another project creation, this time with sample code. It worked! However, when I tried to add a GWT module, I got another error (extract from log file):

!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.ClassCastException: org.eclipse.jdt.internal.core.JarEntryFile cannot be cast to org.eclipse.core.resources.IFile
    at com.google.gwt.eclipse.core.modules.AbstractModule.getShortName(AbstractModule.java:294)
    at com.google.gwt.eclipse.core.modules.AbstractModule.getQualifiedName(AbstractModule.java:272)
    at com.google.gwt.eclipse.core.modules.ModuleJarResource.getQualifiedName(ModuleJarResource.java:1)
    at com.google.gwt.eclipse.core.modules.AbstractModule.getSimpleName(AbstractModule.java:342)
    at com.google.gwt.eclipse.core.modules.ModuleJarResource.getSimpleName(ModuleJarResource.java:1)
    at com.google.gwt.eclipse.core.modules.ModuleUtils$3.visit(ModuleUtils.java:220)
    at com.google.gwt.eclipse.core.modules.ModuleUtils$3.visit(ModuleUtils.java:1)
...

How can I create a module? Is there a way around this error?

Kind regards,

JP

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment