Eclipse plug-in development Unable to instantiate class due to java.lang.NoClassDefFoundError:

Name: Eclipse plug-in development. Unable to instantiate class due to java.lang.NoClassDefFoundError:

Trying to create an eclipse plugin, but getting some runtime error.

I understand that this is due to the class file on which the code depends, and it is present at compile time but not found at runtime ....

I'm not sure what I need to do to fix this. The source file of the file that was not found is in my project workspace.

The project containing the source file is also located in the JavaBuildPath of the problematic project.

+4
source share
1 answer

You also need to put the project of the missing file depending on the plugin configuration file. It will then be available at runtime.

+6
source

All Articles