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)
- Start with a fresh copy of Galileo
- Add all the plugins without restarting Eclipse in the following order.
- Add the GWT plugin from the update site
- http://dl.google.com/eclipse/plugin/3.5
- Add the Subversive plugin and required SVN connectors from Polarion
- http://community.polarion.com/projects/subversive/download/eclipse/2.0/galileo-site/
- Add the maven integration plugin
- http://m2eclipse.sonatype.org/update
- After all the plugins are installed restart Eclipse.
And there you have it. Eclipse starts up without any problems.