Thursday, September 28, 2017

Re: Problems with Eclipse Oxygen and GWT Plugin

Have you tried converting the project to faceted form and enabling the gwt and "Dynamic web module" facets?   If you do don't forget to edit the "Dynamic web module" when you select it with the link eclipse displays of "additional configuration" setting the web content folder to "war" instead of "WebContent" or your project will run but serve content from an empty folder.

-W



On Thursday, September 28, 2017 at 7:14:59 AM UTC-5, JP wrote:
Hello Rodolfo,

many thanks for your reply.

I tried it with a fresh Java Developer Edition and GWT plugin installation. Unfortunately I still get the same error when trying to create a new GWT Project without sample code. When closing the creation dialog box I get the message "Errors occurred while refreshing resources with the local file system.
  The project description file (.project) for 'GWTTest' is missing.  This file contains important information about the project.  The project will not function properly until this file is restored."

Perhaps this may help!?

Kind regards,

JP


Am Montag, 10. Juli 2017 16:31:39 UTC+2 schrieb Rodolfo M. Raya:
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 <isj...@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-we...@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