Monday, December 20, 2010

Fixing error: The type org.eclipse.core.runtime.IAdaptable cannot be resolved. It is indirectly referenced from required .class files.

If you get one of the following errors :

The type org.eclipse.core.runtime.IAdaptable cannot be resolved. It is indirectly referenced from required .class files.

The type org.eclipse.core.runtime.CoreException cannot be resolved. It is indirectly referenced from required .class files.

First of all, check that your plugins depend on org.eclipse.core.runtime plugin.

The classes above are located in org.eclipse.equinox.common plugin, and should be included (along with org.eclipse.core.runtime plugin) in your target platform.

If it still occurs, most likely you get your target platform plugins mixed up. I got this error because I tried to mix plugins from my Eclipse IDE installation (Helios 3.6-SR-1) with Eclipse 3.7M4 Platform plugins.

Simply unchecking the plugins from target platform Contents tab is not enough. I have to actually remove the location. If you notice duplicate plugins in your Target Platform Definition's Contents tab, then you're getting this problem.

Remove the offending plugins location from the target platform definition. If you must add plugins from Eclipse IDE location, cherry pick each plugin from the Locations UI, instead of just adding the whole SDK and unchecking them from the Contents tab.

6 comments:

  1. We know what our RS Gold customers need, so we offer the best service and best Cheap RS Gold to you. More and more players know zyy.com,more and more gamers Buy Cheap RS Gold from us. We are happy to see this, and we will continue to do well. Enjoy your game!

    ReplyDelete
  2. I will be so delighted this particular net issue performs and your article actually reduced the problem. Usually takes a person through to that will property advice a person

    ReplyDelete
  3. REAT recipe! I accept started authoritative my own laundry bactericide alone afresh - and adulation it - but don't accept a pretreatment aerosol - These are EASY capacity and I'm traveling to accord this a try!!! Thanks for announcement it!
    Buy WOW Gold
    Diablo 3 Gold

    ReplyDelete
  4. I liked your article, I will share your article to everyone!!




    WoW gold|Diablo 3 Gold|RS Gold|Cheap Diablo 3 Gold

    ReplyDelete
  5. If it still occurs, most likely you get your target platform plugins mixed up. I got this error because I tried to mix plugins from my Eclipse IDE installation (Helios 3.6-SR-1) with Eclipse 3.7M4 Platform plugins.
    meizu m2 note
    xiaomi mi5
    meizu pro 5

    ReplyDelete