Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pde-dev] URGENT! - Plug-in F12Plugin was unable to load class GlobalActivities

Good day everyone,
I'm sorry for my firt post to be Urgent... but it actually is.
I've been developing di plugin for over a month and never tried deploying it. No I have to... I had my problems in including external jar libraries, but finally I succeeded. Now, when I deploy my plugin in a jar file, say, F12Plugin_1.0.0.jar, I can see my menus but when I click on them, I get the message:
Plug-in F12Plugin was unable to load class <class name>

I had a look at the stacktrance and it says: java.lang.ClassNotFoundException: f12Plugin.actions.GlobalActivities

The jar tree is like:
bin
  \f12Plugin
     \actions
META_INF
build.properties
plugin.xml

My manifest is like:
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: F12 Plug-in
Bundle-SymbolicName: F12Plugin; singleton:=true
Bundle-Version: 1.0.0
Bundle-Activator: f12Plugin.F12PluginPlugin
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
org.eclipse.jface.text,
org.eclipse.core.resources,
[...]
Export-Package: f12Plugin,
f12Plugin.Internals,
f12Plugin.actions,
f12Plugin.components,
f12Plugin.dialogs,
f12Plugin.editors,
f12Plugin.perspectives,
f12Plugin.staticsAndGlobals,
f12Plugin.views,
f12Plugin.webComm


My build properties is:
source.. = src/
output.. = bin/
bin.includes = plugin.xml,\
             META-INF/,\
             icons/,\
             bin/,\
             .,\
             build.properties,\
             dom4j-1.6.1.jar

Any suggestion very appreciated...
Thanks!


Back to the top