I have added a note to the SDK Quickstart: 
- 
http://udig.refractions.net/confluence/display/DEV/1+SDK+Quickstart#1SDKQuickstart-ClassNotFoundExceptionatEclipseStarter

The workaround should be:

As a temporary measure:
1. Open up your Run Configuration
2. Navigate to the Plugins tab
3. Hit "Verify Plugins" (to list the plugins that failed to load; you should 
see that net.refractions.udig.ui is in this list)
4. Hit add required plugins

Let me know how it goes?

-- 
Jody Garnett


On Tuesday, 22 November 2011 at 2:06 PM, Jody Garnett wrote:

> Good Afternoon:
> > I'm doing a clean install of the uDig development environment.
> > 
> > I've followed the SDK Quickstart guide (almost) to the letter. Started by
> > using Eclipse 3.7.1 using dropins-3.7.0.zip but when I tried to run the
> > vanilla udig.product it blew up with a java.lang.ClassNotFoundException at
> > org.eclipse.core.runtime.adaptor.EclipseStarter.
> > 
> I generally only make an SDK when I have a training course to run (it is a 
> timesaver as we introduce people to uDig plugin development). For general 
> development we try and involve developers directly in the uDig project 
> following the instructions to checkout the source code here 
> (http://udig.refractions.net/confluence/display/ADMIN/02+Development+Environment).
> 
> The "EclipseStarter" error is a generic indication that plugin dependencies 
> are not correct (so the net.refractions.udig plugin is depending on something 
> that is not available). This generally happens whoever we upgrade to a new 
> copy of Eclipse (they change things around and we need to update the plugins 
> we include in the udig_sdk to arrive at a valid configuration).
> 
> I will add this note about "EclipseStarter" to the SDK Quickstart; you can 
> often temporarily fix it by open the run configuration and hitting add 
> required plugins. This is how I sort out what plugins are needed (and update 
> the udig_base feature to list those required plugins).
> > 1. Is 3.7.1 a viable environment for uDig development, or is 3.6.x
> > preferable?
> > 
> > 
> > 
> 
> 
> We try and publish what version of Eclipse each release of uDig is tested 
> with. I am currently using Eclipse 3.7.0 and have not updated the 
> instructions to use Eclipse 3.7.1 (even though we have reports of that 
> working). 
> 
> > I decided that perhaps 3.7 wasn't a good idea, as the SDK Quickstart was
> > tested against 3.6, so I installed Eclipse 3.6.2 using dropins-3.6.2.zip. I
> > followed the SDK Quickstart to the letter, including respecting the
> > direction to put the delta pack into \java\target (i.e. I end up with
> > Eclipse in \java\eclipse, the delta pack in \java\target\eclipse, and the
> > SDK in \java\target\udig-sdk--is this correct). Then I set up the target
> > platform per the directions.
> > 
> > 
> > 
> 
> While we could go over the quickstart instructions and try and untangle 
> version hell; let me instead extend you an offer :-)
> 
> Would you be willing to test a 1.3.0 SDK; we can update the SDK Quickstart 
> instructions as we go; and then
> release the results for others.
> 
> I will proceed on this idea; please let me know if you are interested Stephen.
> (Sorry for the delay getting back to you I was away at conferences last week).
> 
> Jody 

_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to