[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: Problem with classLoader afetr update from 3.2 to Europa

Hi,

I have the same problem with my application. I get an NoClassDefFoundError exception after switching to 3.3. I didn't change anything in the Required Plug-Ins or Exported Packages. I did some debugging and testing with a small dummy plug-in. Here's the result.

1) A minimal plug-in (only activator class extending AbstractUIPlugin) started as desired. The start method completed successfully.

2) After I added a call to one of my classes from another plug-in, which is in the dependencies of the first one, in the start method, I got the above NoClassDefFoundError exception. If I try the same with a class from the same plug-in, then all is working fine.

3) I made a jar with my classes in the next step and put it in the Runtime classpath of the second plug-in. The classes were found and the first plug-in finished successfully.

-> It seems like the classes in the source folders of the second plug-in can't be found. Something what really confuses me: a call to an interface didn't throw any exceptions (the interface was found). The exception is coming only after a call to a class?!

Greetings,
Martin