Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » NoClassDefFoundError when starting Virgo milestone 5 from tooling
NoClassDefFoundError when starting Virgo milestone 5 from tooling [message #631316] Thu, 07 October 2010 03:21
Glyn Normington is currently offline Glyn NormingtonFriend
Messages: 1222
Registered: July 2009
Senior Member
When an attempt is made to start Virgo 2.1.0.M05-incubation using the Eclipse tooling, the following exception occurs:

Exception in thread "main" java.lang.NoClassDefFoundError:
Caused by: java.lang.ClassNotFoundException:
at Method)
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass( )
at java.lang.ClassLoader.loadClass(

This was due to over-zealous reorganisation of the kernel directory layout on my part with insufficient regard to the tooling. Apologies for the inconvenience.

bug 32719
has been logged and this will be fixed in Virgo 2.1.0.M06-incubation.

Meanwhile either revert to milestone 4 or reconfigure the tooling as follows as a temporary workaround:
1. Open the "Servers" window in the tooling.
2. Determine the Virgo server to be reconfigured.
3. Double click the Virgo server to open up the server window.
4. Navigate to the "Overview" pane.
5. Click the "Open launch configuration" link.
6. Navigate to the "Classpath" pane.
7. Select "User Entries".
8. Add each of the 5 JARs in the launcher directory to the classpath in turn (the order does not matter), by clicking "Add External JARs...", navigating to $SERVER_HOME/lib/launcher, and adding the JARs as necessary.
9. Back on the "Classpath" pane, once all 5 JARs have been added, click "Apply" then "Ok".

It should now be possible to launch Virgo as usual.
Previous Topic:Virgo Milestone 5
Next Topic:Help me understand the uses violation
Goto Forum:

Current Time: Sun Apr 22 12:52:35 GMT 2018

Powered by FUDForum. Page generated in 0.01855 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software