ClassNotFoundException when instantiating an eclipse plugin

后端 未结 1 1341
南笙
南笙 2021-01-25 01:43

I developed an eclipse plugin and I\'m trying to install it on another instance of eclipse. When I run/debug my plugin as an eclipse application everything works correctly. The

1条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-25 02:35

    When you create a plugin other plugins can only access the classes in packages declared in the Export-Package section of the Manifest.mf. Open the plugin.xml editor and look at the 'Runtime' tab - it needs to have your package listed. Something like this:

    enter image description here

    0 讨论(0)
提交回复
热议问题