Im developing an Eclipse plugin,, com.simple.pluginwith the following structure:

The problem is that at runtime I cannot access the classes of my own plugin . For example, if I do the following code inside SampleHandler.java:
Class cls = Class.forName("com.simple.handlers.SampleHandler");
Object obj = cls.newInstance();
I get an error message:
java.lang.ClassNotFoundException: com.simple.handlers.SampleHandler cannot be found by com.simple.plugin_1.0.0.qualifier*
My runtime parameter for classpath has a plugin root, so I donβt know what is wrong!
Ramos source
share