Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing GWT plugin with Eclipse

Tags:

eclipse

gwt

I am trying to use GWT and I am very new to it. Following the doc, I tried to install the GWT plugin for Eclipse but then I have an error message :

Cannot complete the install because one or more required items could not be found.
  Software being installed: Google Plugin for Eclipse 3.7 3.0.1.v201206290132-rel-r37
  (com.google.gdt.eclipse.suite.e37.feature.feature.group 3.0.1.v201206290132-rel-r37)
 Missing requirement: Google Plugin for Eclipse 3.7 3.0.1.v201206290132-rel-r37
  (com.google.gdt.eclipse.suite.e37.feature.feature.group 3.0.1.v201206290132-rel-r37)
  requires 'org.mortbay.jetty.server 0.0.0' but it could not be found"

I tried to find to what org.mortbay.jetty.server could deal with, but I didn't find. Does anyone know?

like image 923
epsilones Avatar asked Jul 01 '12 21:07

epsilones


People also ask

How do I import a GWT project into Eclipse?

To load the GWT project into Eclipse, choose File > Import to display the Import dialog box, shown in Figure 4-8. In the Import dialog, select Exiting Projects into Workspace and then click Next. The next page of the Import dialog, shown in Figure 4-9, lets you select the projects you want to import.

What is GWT SDK?

The GWT SDK provides a core set of Java APIs and libraries that allow you to productively build user interfaces and logic for the browser client. You then compile that source code to JavaScript. All that runs in the end is plain ol' JavaScript in the browser.


3 Answers

This is because you're attempting to use the latest Juno build, 4.2, with a plugin link for 3.7.

Use the following update site: http://dl.google.com/eclipse/plugin/4.2

Everything should work fine now.

like image 164
Chris Avatar answered Oct 17 '22 04:10

Chris


I had the same issue, but I think it's because I was using eclipse Juno (the google documentation says to use indigo). The jetty project recently moved under the eclipse umbrella, and the jetty bundles (org.mortbay.jetty.server) were renamed (see http://www.eclipse.org/proposals/jetty/). Thus the 3.7 google plugins wouldn't be able to resolve dependencies correctly.

like image 43
Kyle Avatar answered Oct 17 '22 03:10

Kyle


If you still want the earlier (3.x) version of the plugin try copying the plugins directory of some team member who already has that version of the plugin installed. I couldn't imagine the reason why google decomittioned the previous version of the plugin!

like image 2
Vaishali Kulkarni Avatar answered Oct 17 '22 02:10

Vaishali Kulkarni