Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » problem compiling project. plugin related i think(getting message about a plugin being indirectly referenced)
problem compiling project. plugin related i think [message #871385] Sun, 13 May 2012 04:58 Go to next message
Edward Clutter is currently offline Edward Clutter
Messages: 1
Registered: May 2012
Junior Member
when i try to compile a project i get a red flag next to one of my import statements:

lastFilterIndex=preferenceStore.getInt(IViewerConstants.LAST_MODEL_FILTER_INDEX_PREF);

and when i mouse over the red flag it says:

The type org.eclipse.core.commands.common.EventManager cannot be resolved. It is indirectly referenced from required .class files

and in the console i get the following error messages:

Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/core/commands/common/EventManager
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.ct.ogl.viewer.ModelViewer.<init>(ModelViewer.java:273)
at com.ct.ogl.viewer.ModelViewer.main(ModelViewer.java:339)
Caused by: java.lang.ClassNotFoundException: org.eclipse.core.commands.common.EventManager
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 26 more
Re: problem compiling project. plugin related i think [message #871547 is a reply to message #871385] Mon, 14 May 2012 11:50 Go to previous message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2274
Registered: July 2009
Senior Member
Some class that your project requires itself requires EventManager, but you don't have anything containing it on your Java Build Path (or plug-in dependencies).

---
Nitin Dahyabhai
Eclipse WTP, IBM
Previous Topic:John
Next Topic:how to extend eclipes eclipse IDE from java to j2ee
Goto Forum:
  


Current Time: Mon Sep 22 00:27:58 GMT 2014

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

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