[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] can't start deployed plugin


Hi All,

I'm desperate for help here. I've spent two days trying to solve this and I've done nothing but look stupid. I've got a plugin that works beautifully when I run it in the eclipse debugger. I export the plugin, install it into my main eclipse environment and it works fine.

But for everyone else it crashes before it even gets to my code with a ClassNotFound exception. My code is dependent on the JDT plugins and but nothing I have been able to find let's me make those classes available to me.

Some details:
- Running RAD 7.0.0.5 based on eclipse 3.2
- I can see that the jdt stuff is loaded in the Help | About | Plugins
- This works on my build even as a deployed plugin but doesn't work on any of my team mate's computers
- I have the following in my features/feature.xml:
<requires>
<import plugin="org.eclipse.ui"/>
<import plugin="org.eclipse.core.runtime"/>
<import plugin="org.eclipse.ui.forms"/>
<import plugin="org.eclipse.ui.console"/>
<import plugin="org.eclipse.core.filesystem"/>
<import plugin="org.eclipse.core.resources"/>
<import plugin="org.eclipse.core.filebuffers"/>
<import plugin="org.eclipse.compare"/>
<import plugin="org.eclipse.jdt.core"/>
<import plugin="org.eclipse.text"/>
<import plugin="org.eclipse.jdt"/>
<import plugin="org.eclipse.jdt.apt.core"/>
<import plugin="org.eclipse.jdt.core.manipulation"/>
<import plugin="org.eclipse.jdt.apt.ui"/>
<import plugin="org.eclipse.jdt.debug"/>
<import plugin="org.eclipse.jdt.debug.ui"/>
<import plugin="org.eclipse.jdt.ui"/>
<import plugin="org.eclipse.jdt.junit"/>
<import plugin="org.eclipse.jdt.junit.runtime"/>
<import plugin="org.eclipse.jdt.junit4.runtime"/>
<import plugin="org.eclipse.jdt.launching"/>
<import plugin="org.eclipse.jst.common.frameworks"/>
<import plugin="org.eclipse.jst.j2ee.ui"/>
</requires>


I have all this in my MANIFEST.MF from my plugin

Eclipse-BuddyPolicy: global
Bundle-Localization: plugin
Require-Bundle: org.eclipse.ui,
 org.eclipse.core.runtime,
 org.eclipse.ui.forms,
 org.eclipse.ui.console,
 org.eclipse.core.filesystem,
 org.eclipse.core.resources,
 org.eclipse.core.filebuffers,
 org.eclipse.compare,
 org.eclipse.jdt.core,
 org.eclipse.text,
 org.eclipse.jdt,
 org.eclipse.jdt.apt.core,
 org.eclipse.jdt.core.manipulation

I end up with this exception before my code even gets started:

java.lang.NoClassDefFoundError: org.eclipse.jdt.core.dom.Name
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(Unknown Source)
at java.lang.J9VMInternals.initialize(Unknown Source)
at com.vsp.tools.MDA.views.XSD2Java$GenerateListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.eclipse.ui.internal.Workbench.runEventLoop(Unknown Source)
at org.eclipse.ui.internal.Workbench.runUI(Unknown Source)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Unknown Source)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Unknown Source)
at org.eclipse.ui.internal.ide.IDEApplication.run(Unknown Source)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Unknown Source)
at org.eclipse.core.launcher.Main.basicRun(Unknown Source)
at org.eclipse.core.launcher.Main.run(Unknown Source)
at org.eclipse.core.launcher.Main.main(Unknown Source)




Thank you for any suggestions.

                        Jason Henriksen