Mac – Eclipse Galileo – Installing GWT Plugin

Ok, So I was having some real issues when I tried to install the GWT plugin from Google into Eclipse Galileo on my Mac in order create a GWT 2.0 application. After installing the plugin (via the update site – http://dl.google.com/eclipse/plugin/3.5) you need to restart Eclipse. However when Eclipse restarted all I got was an error popup telling me to check the Eclipse log file.

The log file contained the following …

!SESSION Thu Jan 14 16:42:24 CST 2010
------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2010-01-14 16:42:24.080
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException:
org.eclipse.core.runtime.adaptor.EclipseStarter
	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:556)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

Well, luckily I was able to come up with a workaround.

For development I also use the Subversive and Maven Integration plugins so here is what I did. (This assumes you know how to install plugins via update sites)

  1. Start with a fresh copy of Galileo
  2. Add all the plugins without restarting Eclipse in the following order.
  3. Add the GWT plugin from the update site
    1. http://dl.google.com/eclipse/plugin/3.5
  4. Add the Subversive plugin and required SVN connectors from Polarion
    1. http://community.polarion.com/projects/subversive/download/eclipse/2.0/galileo-site/
  5. Add the maven integration plugin
    1. http://m2eclipse.sonatype.org/update
  6. After all the plugins are installed restart Eclipse.

And there you have it. Eclipse starts up without any problems.

  • Share/Bookmark

Leave a Reply

You must be logged in to post a comment.