Problem creating a new Web Application Project in Eclipse using the GWT eclipse plugin

406 views
Skip to first unread message

Roshan

unread,
May 24, 2009, 5:19:05 AM5/24/09
to Google Web Toolkit
Hi all,
I just got the gwt eclipse plugin installed through the standard
eclipse mechanism of Help > Software Updates.
It installed without a problem.

Then I went on to read the Quick Start Guide (http://code.google.com/
webtoolkit/gettingstarted.html#NewEclipse) - the section "Creating an
Application from Scratch (with Eclipse)". Reproducing the steps below:

---------------------------------------------------------------------------------------------------------------
The Google Plugin for Eclipse contains a wizard for creating GWT
applications. After installing the plugin and restarting Eclipse, here
are steps for creating a starter application.

1. In the toolbar, click the New Web Application Project button
icon.
2. Fill out the project details:
1. Enter the project name "MyApplication".
2. Enter the package "com.mycompany".
3. Make sure Use Google Web Toolkit is checked and that Use
default SDK (GWT) is selected.
4. (Optional) If you are using Google App Engine, make sure
Use Google App Engine is checked and that Use default SDK (App Engine)
is selected.
5. If you did not install the SDKs when you installed the
Google Plugin for Eclipse, you should click Configure SDKs... to
specify the directory where GWT (and the App Engine SDK) was unzipped.
3. Click the Finish button.

---------------------------------------------------------------------------------------------------------------

On clicking the "Finish" button, I get a dialog box with a yellow
triangle (warning) with the content reading "Creation of element
failed. Reason:Problems encountered while setting project
description." The text area displayed on clicking the "Details" button
shows the below error:
" Nature does not exist: com.google.gdt.eclipse.core.webAppNature."

The project does get created in the workspace but the .project files
is almost empty.
Content of the .project file:
--------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>MQW</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>
--------------------------------------------------------------------------------

I have the below questions:
1. Is there a problem in my eclipse plugin installation?
2. Is there a workaround to the above issue? Like, can I add the below
content to the .project file to get the project setup as expected:
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>com.google.gwt.eclipse.core.gwtNature</nature>
<nature>com.google.gdt.eclipse.core.webAppNature</nature>
</natures>

I appreciate in advance, all the time each of you would spend to
answer this. Thank you.

Jason Parekh

unread,
May 26, 2009, 11:19:59 AM5/26/09
to Google-We...@googlegroups.com
Hi Roshan,

Sounds like the plugin installation didn't go as smoothly as it should
have. Can you try uninstalling the Google plugins, shutting down
Eclipse, launching Eclipse, and re-installing? If that problem still
persists, we can investigate further.

Thanks,
jason
Reply all
Reply to author
Forward
0 new messages