IPropertySource - NoClassDefFoundError [message #292501] |
Thu, 06 October 2005 17:19  |
Eclipse User |
|
|
|
Hi,
We are trying to implement a properties page on one of our model objects.
The model object is implementing IAdaptable. The gett adapter code (shown
here)
public Object getAdapter(Class adapter) {
if ( adapter.equals(IPropertySource.class) )
return new PropertySourceAdapter(this);
else
return super.getAdapter(adapter);
}
I getting called but is failing with a class def not found exception.
Here is the stacktrace.
!ENTRY org.eclipse.jface 4 2 2005-10-06 16:07:58.304
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.jface".
!STACK 0
java.lang.NoClassDefFoundError:
org.eclipse.ui.views.properties.IPropertySource
We have verified that the org.eclipse.ui.views plugin is included in the
project and is available, as we can load the Properties View. Has anyone
seen this issue before ?
Here are the specs on the machine
Windows XP Pro build 5.1.2600.2622
jre1.5.0_04 / 1.4.2_08
Eclipse 3.1 buildId=I20050627-1435
|
|
|
|
|
Re: IPropertySource - NoClassDefFoundError [message #292512 is a reply to message #292501] |
Thu, 06 October 2005 18:53   |
Eclipse User |
|
|
|
Could this be related to the manifest file ?? I have posted it here
Manifest-Version: 1.0
Bundle-Name: XXXX Main Plugin
Bundle-SymbolicName: com.xxx.xxx.rcp.main; singleton=true
Bundle-Version: 1.0.0
Bundle-ClassPath: log4j.jar,
commons-logging.jar,
j2ee.jar,
xsdbeans.jar,
XXX_COMMON.jar
Bundle-Activator: com.xxx.xxx.client.rcp.plugin.MainPlugin
Bundle-Vendor: XXXXXXX
Bundle-Localization: plugin
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
org.eclipse.ui.views,
org.eclipse.help,
org.eclipse.osgi.services,
org.eclipse.ui.forms,
org.eclipse.ui.workbench.texteditor,
org.eclipse.core.resources
Eclipse-AutoStart: true
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03525 seconds