[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] class not found at runtime, class loader issue?

Hi,

One of plugin cannot find class from the jar file which lies in its lib folder when called from another plugin.

I have 2 plugins say Plugin_A and Plugin_B

Plugin_A makes use of an external jar (abc.jar), which lies in its lib folder and has been added to its classpath.

Plugin_B has a dependency on Plugin_A. It also makes use of classes from abc.jar, so it also exists in its classpath from Plugin_A.
When I run a class from Plugin_B as java application it works fine.
But if I run Plugin_B as eclipse application it says that one of the classes in Plugin_A can’t find class from abc.jar.


How can I resolve it?

I also tried using RegisterBuddy concept though I am using eclipse3.2M5.
In Plugin_A’s manifest files I wrote:
Eclipse-RegisterBuddy: registered
In Plugin_A’s manifest files I wrote:
Eclipse-RegisterBuddy: <Plugin_A’s symbolic name>

But still it didn’t work. Any idea how can I resolve it?

Thanks,
Parvez