Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » java.lang.NoClassDefFoundError: org/eclipse/ui/views/properties/IPropertySource(A runtime exception as described is being thrown while trying to display properties tab in my plugin)
java.lang.NoClassDefFoundError: org/eclipse/ui/views/properties/IPropertySource [message #1750442] Wed, 21 December 2016 07:12 Go to next message
Anusri Ramchandran is currently offline Anusri RamchandranFriend
Messages: 2
Registered: December 2016
Junior Member
My GEF plugin needs a Properties tab.I added the interface IPropertySource .
It throws an exception at runtime as follows:
java.lang.NoClassDefFoundError: org/eclipse/ui/views/properties/IPropertySource
at org.eclipse.gef.internal.PropertySourceAdapterFactory.getAdapter(PropertySourceAdapterFactory.java:33)
at org.eclipse.core.internal.adapter.AdapterFactoryProxy.getAdapter(AdapterFactoryProxy.java:82)
at org.eclipse.core.internal.runtime.AdapterManager.getAdapter(AdapterManager.java:301)
at org.eclipse.gef.editparts.AbstractEditPart.getAdapter(AbstractEditPart.java:464)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.getAdapter(AbstractGraphicalEditPart.java:461)
at org.eclipse.ui.internal.views.ViewsPlugin.getAdapter(ViewsPlugin.java:104)

I have added "org.eclipse.ui.views" in my dependencies.

Not able to debug why the same is happening.
Kindly guide.
Re: java.lang.NoClassDefFoundError: org/eclipse/ui/views/properties/IPropertySource [message #1750499 is a reply to message #1750442] Wed, 21 December 2016 18:54 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4507
Registered: July 2009
Senior Member

Added it how? And is that the only exception trace you had?

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:SugiyamaLayoutAlgorithm right-skews
Next Topic:why is AbstractGeomerty not public?
Goto Forum:
  


Current Time: Tue Dec 03 15:35:29 GMT 2024

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

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

Back to the top