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(
at org.eclipse.core.internal.adapter.AdapterFactoryProxy.getAdapter(
at org.eclipse.core.internal.runtime.AdapterManager.getAdapter(
at org.eclipse.gef.editparts.AbstractEditPart.getAdapter(
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.getAdapter(
at org.eclipse.ui.internal.views.ViewsPlugin.getAdapter(

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: 4423
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: Fri Mar 01 05:54:43 GMT 2024

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

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

Back to the top