Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [Teneo] Problems with Teneo Gmf Mindmap Tutorial
[Teneo] Problems with Teneo Gmf Mindmap Tutorial [message #441194] Fri, 31 July 2009 09:46 Go to next message
Eclipse UserFriend
Originally posted by: kretschmer.e-mundo.de

Hi experts,

I have a problem when I try to run the Teneo Tutorial with the Gmf
Editor (http://www.elver.org/hibernate/gmftutorial/tutorial1.html).

I get two Exceptions when I try to open the the "DB Editor" via the menubar.

Here the Exceptions:

!ENTRY org.eclipse.osgi 4 0 2009-07-31 09:43:54.718
!MESSAGE An error occurred while automatically activating bundle
org.eclipse.gmf.examples.mindmap.diagram (841).
!STACK 0
org.osgi.framework.BundleException: Exception in
org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start()
of bundle org.eclipse.gmf.examples.mindmap.diagram.
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:805)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:754)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:352)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:280)
at
org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:408)
at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:449)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:211)
at
org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:376)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:452)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at
org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund leLoader.java:321)
at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:231)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1193)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
at
org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:874)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
at
org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:267)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
at
org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:263)
at
org.eclipse.ui.internal.PluginAction.createDelegate(PluginAc tion.java:122)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:223)
at
org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:584)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:501)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Caused by: java.lang.NoClassDefFoundError: org/hibernate/Session
at
org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start(MindmapDiagramEditorPlugin.java:81)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$1 .run(BundleContextImpl.java:782)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:773)
... 54 more
Caused by: java.lang.ClassNotFoundException: org.hibernate.Session
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:489)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
... 58 more
Root exception:
java.lang.NoClassDefFoundError: org/hibernate/Session
at
org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start(MindmapDiagramEditorPlugin.java:81)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$1 .run(BundleContextImpl.java:782)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:773)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:754)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:352)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:280)
at
org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:408)
at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:449)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:211)
at
org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:376)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:452)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at
org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund leLoader.java:321)
at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:231)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1193)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
at
org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:874)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
at
org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:267)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
at
org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:263)
at
org.eclipse.ui.internal.PluginAction.createDelegate(PluginAc tion.java:122)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:223)
at
org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:584)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:501)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Caused by: java.lang.ClassNotFoundException: org.hibernate.Session
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:489)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
... 58 more

!ENTRY org.eclipse.ui 4 4 2009-07-31 09:43:54.718
!MESSAGE Could not create action delegate for id: mindmap.teneo.gmf.action0

!ENTRY org.eclipse.equinox.registry 4 1 2009-07-31 09:43:54.718
!MESSAGE Plug-in org.eclipse.gmf.examples.mindmap.diagram was unable to
load class org.eclipse.gmf.examples.mindmap.diagram.db.OpenMindmapDBEdi tor.
!STACK 0
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter $TerminatingClassNotFoundException:
An error occurred while automatically activating bundle
org.eclipse.gmf.examples.mindmap.diagram (841).
at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:125)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:449)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:211)
at
org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:376)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:452)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at
org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund leLoader.java:321)
at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:231)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1193)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
at
org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:874)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
at
org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:267)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
at
org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:263)
at
org.eclipse.ui.internal.PluginAction.createDelegate(PluginAc tion.java:122)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:223)
at
org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:584)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:501)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Caused by: org.osgi.framework.BundleException: Exception in
org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start()
of bundle org.eclipse.gmf.examples.mindmap.diagram.
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:805)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:754)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:352)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:280)
at
org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:408)
at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
... 49 more
Caused by: java.lang.NoClassDefFoundError: org/hibernate/Session
at
org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start(MindmapDiagramEditorPlugin.java:81)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$1 .run(BundleContextImpl.java:782)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:773)
... 54 more
Caused by: java.lang.ClassNotFoundException: org.hibernate.Session
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:489)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
... 58 more


I made a Hibernate_Libraries Plugin and set the Eclipse-BuddyPolicy:
dependent and added a dependency with reexport on it in the model plugin
as described in the tutorial.

My question:
Can you give me an advice which configuration I have to adapt to solve
this problem, cause i found nothing in the newsgroup solving my problem?

Thanks for your help
Philipp
Re: [Teneo] Problems with Teneo Gmf Mindmap Tutorial [message #441815 is a reply to message #441194] Fri, 31 July 2009 11:28 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Philipp,
A class path issue, did you set the reexport dependency on the hibernate libraries plugin when setting it as a
dependency of the model package?
If this does not help can you give a summary of your plugin and dependency structure as defined in the manifest.mf?

gr. Martin

Philipp Kretschmer wrote:
> Hi experts,
>
> I have a problem when I try to run the Teneo Tutorial with the Gmf
> Editor (http://www.elver.org/hibernate/gmftutorial/tutorial1.html).
>
> I get two Exceptions when I try to open the the "DB Editor" via the
> menubar.
>
> Here the Exceptions:
>
> !ENTRY org.eclipse.osgi 4 0 2009-07-31 09:43:54.718
> !MESSAGE An error occurred while automatically activating bundle
> org.eclipse.gmf.examples.mindmap.diagram (841).
> !STACK 0
> org.osgi.framework.BundleException: Exception in
> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start()
> of bundle org.eclipse.gmf.examples.mindmap.diagram.
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:805)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:754)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:352)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:280)
>
> at
> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:408)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:449)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:211)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:376)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:452)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>
> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> at
> org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund leLoader.java:321)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:231)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1193)
>
> at
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
>
> at
> org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:874)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>
> at
> org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:267)
> at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
> at
> org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:263)
>
> at
> org.eclipse.ui.internal.PluginAction.createDelegate(PluginAc tion.java:122)
> at
> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:223)
> at
> org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
>
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:584)
>
> at
> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:501)
>
> at
> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
>
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
> Caused by: java.lang.NoClassDefFoundError: org/hibernate/Session
> at
> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start(MindmapDiagramEditorPlugin.java:81)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1 .run(BundleContextImpl.java:782)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:773)
>
> ... 54 more
> Caused by: java.lang.ClassNotFoundException: org.hibernate.Session
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:489)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>
> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
> ... 58 more
> Root exception:
> java.lang.NoClassDefFoundError: org/hibernate/Session
> at
> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start(MindmapDiagramEditorPlugin.java:81)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1 .run(BundleContextImpl.java:782)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:773)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:754)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:352)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:280)
>
> at
> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:408)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:449)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:211)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:376)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:452)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>
> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> at
> org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund leLoader.java:321)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:231)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1193)
>
> at
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
>
> at
> org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:874)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>
> at
> org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:267)
> at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
> at
> org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:263)
>
> at
> org.eclipse.ui.internal.PluginAction.createDelegate(PluginAc tion.java:122)
> at
> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:223)
> at
> org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
>
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:584)
>
> at
> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:501)
>
> at
> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
>
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
> Caused by: java.lang.ClassNotFoundException: org.hibernate.Session
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:489)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>
> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
> ... 58 more
>
> !ENTRY org.eclipse.ui 4 4 2009-07-31 09:43:54.718
> !MESSAGE Could not create action delegate for id: mindmap.teneo.gmf.action0
>
> !ENTRY org.eclipse.equinox.registry 4 1 2009-07-31 09:43:54.718
> !MESSAGE Plug-in org.eclipse.gmf.examples.mindmap.diagram was unable to
> load class org.eclipse.gmf.examples.mindmap.diagram.db.OpenMindmapDBEdi tor.
> !STACK 0
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter $TerminatingClassNotFoundException:
> An error occurred while automatically activating bundle
> org.eclipse.gmf.examples.mindmap.diagram (841).
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:125)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:449)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:211)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:376)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:452)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>
> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> at
> org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund leLoader.java:321)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:231)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1193)
>
> at
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
>
> at
> org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:874)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>
> at
> org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:267)
> at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
> at
> org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:263)
>
> at
> org.eclipse.ui.internal.PluginAction.createDelegate(PluginAc tion.java:122)
> at
> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:223)
> at
> org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
>
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:584)
>
> at
> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:501)
>
> at
> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
>
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
> Caused by: org.osgi.framework.BundleException: Exception in
> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start()
> of bundle org.eclipse.gmf.examples.mindmap.diagram.
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:805)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:754)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:352)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:280)
>
> at
> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:408)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>
> ... 49 more
> Caused by: java.lang.NoClassDefFoundError: org/hibernate/Session
> at
> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start(MindmapDiagramEditorPlugin.java:81)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1 .run(BundleContextImpl.java:782)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:773)
>
> ... 54 more
> Caused by: java.lang.ClassNotFoundException: org.hibernate.Session
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:489)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>
> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
> ... 58 more
>
>
> I made a Hibernate_Libraries Plugin and set the Eclipse-BuddyPolicy:
> dependent and added a dependency with reexport on it in the model plugin
> as described in the tutorial.
>
> My question:
> Can you give me an advice which configuration I have to adapt to solve
> this problem, cause i found nothing in the newsgroup solving my problem?
>
> Thanks for your help
> Philipp


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [Teneo] Problems with Teneo Gmf Mindmap Tutorial [message #442040 is a reply to message #441815] Fri, 31 July 2009 11:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kretschmer.e-mundo.de

Hi Martin,

thanks for the fast reply.
Yes I set the reexport dependency on Hibernate_Libraries. It is a Java
Plugin where I added the hibernate3.jar and its required jar archives to
the root directory. Then I added all of them to the buildpath of the
Hibernate_Libraries plugin.

If it helps, here is what I tried. I modified and run the Tutorial1.java
(http://www.elver.org/hibernate/tutorialone/tutorial1_2.html) inside the
org.eclipse.gmf.examples.mindmap.diagram plugin and it worked. It uses
the hibernate session class, so it should be available in the diagram
plugin I think.

Here the summary for the manifest.mf files:

in the Hibernate_Libraries:

Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Hibernate_Libraries
Bundle-SymbolicName: Hibernate_Libraries
Bundle-Version: 1.0.0.qualifier
Eclipse-BuddyPolicy: dependent
Require-Bundle:
org.apache.commons.logging;bundle-version="1.0.4";visibility:=reexport
Export-Package: org.hibernate;
uses:="javax.naming,
org.hibernate.engine,
org.hibernate.jdbc,
org.hibernate.transform,
org.hibernate.type,
org.hibernate.exception,
org.hibernate.classic,
org.hibernate.metadata,
org.hibernate.criterion,
javax.transaction,
org.hibernate.stat"

in org.eclipse.gmf.examples.mindmap:

Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.gmf.examples.mindmap; singleton:=true
Bundle-Version: 1.0.0
Bundle-ClassPath: .
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Export-Package: org.eclipse.gmf.examples.mindmap,
org.eclipse.gmf.examples.mindmap.impl,
org.eclipse.gmf.examples.mindmap.util
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.emf.ecore;visibility:=reexport,
org.eclipse.emf.ecore.xmi;visibility:=reexport,
Hibernate_Libraries;bundle-version="1.0.0";visibility:=reexport,

org.eclipse.emf.teneo.hibernate;bundle-version="1.1.0";visibility:=reexport
Eclipse-LazyStart: true

in org.eclipse.gmf.examples.mindmap.diagram:

Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.gmf.examples.mindmap.diagram;
singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-ClassPath: .
Bundle-Activator:
org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Export-Package: org.eclipse.gmf.examples.mindmap.diagram.edit.parts,
org.eclipse.gmf.examples.mindmap.diagram.part,
org.eclipse.gmf.examples.mindmap.diagram.providers
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.core.resources,
org.eclipse.core.expressions,
org.eclipse.jface,
org.eclipse.ui.ide,
org.eclipse.ui.views,
org.eclipse.ui.navigator,
org.eclipse.ui.navigator.resources,
org.eclipse.emf.ecore,
org.eclipse.emf.ecore.xmi,
org.eclipse.emf.edit.ui,
org.eclipse.gmf.runtime.emf.core,
org.eclipse.gmf.runtime.emf.commands.core,
org.eclipse.gmf.runtime.emf.ui.properties,
org.eclipse.gmf.runtime.diagram.ui,
org.eclipse.gmf.runtime.diagram.ui.properties,
org.eclipse.gmf.runtime.diagram.ui.providers,
org.eclipse.gmf.runtime.diagram.ui.providers.ide,
org.eclipse.gmf.runtime.diagram.ui.render,
org.eclipse.gmf.runtime.diagram.ui.resources.editor,
org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide,
org.eclipse.gmf.examples.mindmap;visibility:=reexport,
org.eclipse.gmf.examples.mindmap.edit;visibility:=reexport,
org.eclipse.ocl.ecore;visibility:=reexport,
org.eclipse.emf.validation;visibility:=reexport,
org.eclipse.gmf.runtime.draw2d.ui;visibility:=reexport,
org.eclipse.gef;visibility:=reexport
Eclipse-LazyStart: true

Do you need any further information?

greetings
Philipp

Martin Taal schrieb:
> Hi Philipp,
> A class path issue, did you set the reexport dependency on the hibernate
> libraries plugin when setting it as a dependency of the model package?
> If this does not help can you give a summary of your plugin and
> dependency structure as defined in the manifest.mf?
>
> gr. Martin
>
> Philipp Kretschmer wrote:
>> Hi experts,
>>
>> I have a problem when I try to run the Teneo Tutorial with the Gmf
>> Editor (http://www.elver.org/hibernate/gmftutorial/tutorial1.html).
>>
>> I get two Exceptions when I try to open the the "DB Editor" via the
>> menubar.
>>
>> Here the Exceptions:
>>
>> !ENTRY org.eclipse.osgi 4 0 2009-07-31 09:43:54.718
>> !MESSAGE An error occurred while automatically activating bundle
>> org.eclipse.gmf.examples.mindmap.diagram (841).
>> !STACK 0
>> org.osgi.framework.BundleException: Exception in
>> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start()
>> of bundle org.eclipse.gmf.examples.mindmap.diagram.
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:805)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:754)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:352)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:280)
>>
>> at
>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:408)
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>>
>> at
>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:449)
>>
>> at
>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:211)
>>
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:376)
>>
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:452)
>>
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>
>> at
>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund leLoader.java:321)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:231)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1193)
>>
>> at
>> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
>>
>> at
>> org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:874)
>>
>> at
>> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>>
>> at
>> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>>
>> at
>> org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:267)
>> at
>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>> at
>> org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:263)
>>
>> at
>> org.eclipse.ui.internal.PluginAction.createDelegate(PluginAc tion.java:122)
>>
>> at
>> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:223)
>> at
>> org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
>>
>> at
>> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:584)
>>
>> at
>> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:501)
>>
>> at
>> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
>>
>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
>> at
>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
>> at
>> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
>> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
>> at
>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>>
>> at
>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
>>
>> at
>> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>> at
>> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
>>
>> at
>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>>
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>>
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>>
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
>> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
>> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
>> Caused by: java.lang.NoClassDefFoundError: org/hibernate/Session
>> at
>> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start(MindmapDiagramEditorPlugin.java:81)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1 .run(BundleContextImpl.java:782)
>>
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:773)
>>
>> ... 54 more
>> Caused by: java.lang.ClassNotFoundException: org.hibernate.Session
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:489)
>>
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>
>> at
>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
>> ... 58 more
>> Root exception:
>> java.lang.NoClassDefFoundError: org/hibernate/Session
>> at
>> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start(MindmapDiagramEditorPlugin.java:81)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1 .run(BundleContextImpl.java:782)
>>
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:773)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:754)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:352)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:280)
>>
>> at
>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:408)
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>>
>> at
>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:449)
>>
>> at
>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:211)
>>
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:376)
>>
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:452)
>>
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>
>> at
>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund leLoader.java:321)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:231)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1193)
>>
>> at
>> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
>>
>> at
>> org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:874)
>>
>> at
>> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>>
>> at
>> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>>
>> at
>> org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:267)
>> at
>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>> at
>> org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:263)
>>
>> at
>> org.eclipse.ui.internal.PluginAction.createDelegate(PluginAc tion.java:122)
>>
>> at
>> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:223)
>> at
>> org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
>>
>> at
>> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:584)
>>
>> at
>> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:501)
>>
>> at
>> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
>>
>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
>> at
>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
>> at
>> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
>> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
>> at
>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>>
>> at
>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
>>
>> at
>> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>> at
>> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
>>
>> at
>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>>
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>>
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>>
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
>> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
>> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
>> Caused by: java.lang.ClassNotFoundException: org.hibernate.Session
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:489)
>>
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>
>> at
>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
>> ... 58 more
>>
>> !ENTRY org.eclipse.ui 4 4 2009-07-31 09:43:54.718
>> !MESSAGE Could not create action delegate for id:
>> mindmap.teneo.gmf.action0
>>
>> !ENTRY org.eclipse.equinox.registry 4 1 2009-07-31 09:43:54.718
>> !MESSAGE Plug-in org.eclipse.gmf.examples.mindmap.diagram was unable
>> to load class
>> org.eclipse.gmf.examples.mindmap.diagram.db.OpenMindmapDBEdi tor.
>> !STACK 0
>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter $TerminatingClassNotFoundException:
>> An error occurred while automatically activating bundle
>> org.eclipse.gmf.examples.mindmap.diagram (841).
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:125)
>>
>> at
>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:449)
>>
>> at
>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:211)
>>
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:376)
>>
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:452)
>>
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>
>> at
>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund leLoader.java:321)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:231)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1193)
>>
>> at
>> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
>>
>> at
>> org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:874)
>>
>> at
>> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>>
>> at
>> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>>
>> at
>> org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:267)
>> at
>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>> at
>> org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:263)
>>
>> at
>> org.eclipse.ui.internal.PluginAction.createDelegate(PluginAc tion.java:122)
>>
>> at
>> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:223)
>> at
>> org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
>>
>> at
>> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:584)
>>
>> at
>> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:501)
>>
>> at
>> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
>>
>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
>> at
>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
>> at
>> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
>> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
>> at
>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>>
>> at
>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
>>
>> at
>> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>> at
>> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
>>
>> at
>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>>
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>>
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>>
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
>> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
>> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
>> Caused by: org.osgi.framework.BundleException: Exception in
>> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start()
>> of bundle org.eclipse.gmf.examples.mindmap.diagram.
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:805)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:754)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:352)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:280)
>>
>> at
>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:408)
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>>
>> ... 49 more
>> Caused by: java.lang.NoClassDefFoundError: org/hibernate/Session
>> at
>> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start(MindmapDiagramEditorPlugin.java:81)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1 .run(BundleContextImpl.java:782)
>>
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:773)
>>
>> ... 54 more
>> Caused by: java.lang.ClassNotFoundException: org.hibernate.Session
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:489)
>>
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>
>> at
>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
>> ... 58 more
>>
>>
>> I made a Hibernate_Libraries Plugin and set the Eclipse-BuddyPolicy:
>> dependent and added a dependency with reexport on it in the model
>> plugin as described in the tutorial.
>>
>> My question:
>> Can you give me an advice which configuration I have to adapt to solve
>> this problem, cause i found nothing in the newsgroup solving my problem?
>>
>> Thanks for your help
>> Philipp
>
>
Re: [Teneo] Problems with Teneo Gmf Mindmap Tutorial [message #449205 is a reply to message #442040] Sat, 01 August 2009 05:21 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Philipp,
Hmm, to be honest I do not really understand why this fails... I assume that you run the Tutorial1 as a java
program/junit testcase and not as a plugin (that's why the Tutorial1 passes).

Can you check if you have -clean in the arguments tab of the run configuration? (a bit of a wild guess that this makes a
difference...)

I assume that all the plugins are loaded correctly in the test eclipse application (otherwise you would have gotten
other errors)

Another thing you can try is to create a new plugin project in the test eclipse application. Then let it depend on the
hibernate plugin and add the tutorial1.java there and see if it runs there.

gr. Martin

Philipp Kretschmer wrote:
> Hi Martin,
>
> thanks for the fast reply.
> Yes I set the reexport dependency on Hibernate_Libraries. It is a Java
> Plugin where I added the hibernate3.jar and its required jar archives to
> the root directory. Then I added all of them to the buildpath of the
> Hibernate_Libraries plugin.
>
> If it helps, here is what I tried. I modified and run the Tutorial1.java
> (http://www.elver.org/hibernate/tutorialone/tutorial1_2.html) inside the
> org.eclipse.gmf.examples.mindmap.diagram plugin and it worked. It uses
> the hibernate session class, so it should be available in the diagram
> plugin I think.
>
> Here the summary for the manifest.mf files:
>
> in the Hibernate_Libraries:
>
> Manifest-Version: 1.0
> Bundle-ManifestVersion: 2
> Bundle-Name: Hibernate_Libraries
> Bundle-SymbolicName: Hibernate_Libraries
> Bundle-Version: 1.0.0.qualifier
> Eclipse-BuddyPolicy: dependent
> Require-Bundle:
> org.apache.commons.logging;bundle-version="1.0.4";visibility:=reexport
> Export-Package: org.hibernate;
> uses:="javax.naming,
> org.hibernate.engine,
> org.hibernate.jdbc,
> org.hibernate.transform,
> org.hibernate.type,
> org.hibernate.exception,
> org.hibernate.classic,
> org.hibernate.metadata,
> org.hibernate.criterion,
> javax.transaction,
> org.hibernate.stat"
>
> in org.eclipse.gmf.examples.mindmap:
>
> Manifest-Version: 1.0
> Bundle-ManifestVersion: 2
> Bundle-Name: %pluginName
> Bundle-SymbolicName: org.eclipse.gmf.examples.mindmap; singleton:=true
> Bundle-Version: 1.0.0
> Bundle-ClassPath: .
> Bundle-Vendor: %providerName
> Bundle-Localization: plugin
> Bundle-RequiredExecutionEnvironment: J2SE-1.5
> Export-Package: org.eclipse.gmf.examples.mindmap,
> org.eclipse.gmf.examples.mindmap.impl,
> org.eclipse.gmf.examples.mindmap.util
> Require-Bundle: org.eclipse.core.runtime,
> org.eclipse.emf.ecore;visibility:=reexport,
> org.eclipse.emf.ecore.xmi;visibility:=reexport,
> Hibernate_Libraries;bundle-version="1.0.0";visibility:=reexport,
>
> org.eclipse.emf.teneo.hibernate;bundle-version="1.1.0";visibility:=reexport
> Eclipse-LazyStart: true
>
> in org.eclipse.gmf.examples.mindmap.diagram:
>
> Manifest-Version: 1.0
> Bundle-ManifestVersion: 2
> Bundle-Name: %pluginName
> Bundle-SymbolicName: org.eclipse.gmf.examples.mindmap.diagram;
> singleton:=true
> Bundle-Version: 1.0.0.qualifier
> Bundle-ClassPath: .
> Bundle-Activator:
> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin
> Bundle-Vendor: %providerName
> Bundle-Localization: plugin
> Export-Package: org.eclipse.gmf.examples.mindmap.diagram.edit.parts,
> org.eclipse.gmf.examples.mindmap.diagram.part,
> org.eclipse.gmf.examples.mindmap.diagram.providers
> Require-Bundle: org.eclipse.core.runtime,
> org.eclipse.core.resources,
> org.eclipse.core.expressions,
> org.eclipse.jface,
> org.eclipse.ui.ide,
> org.eclipse.ui.views,
> org.eclipse.ui.navigator,
> org.eclipse.ui.navigator.resources,
> org.eclipse.emf.ecore,
> org.eclipse.emf.ecore.xmi,
> org.eclipse.emf.edit.ui,
> org.eclipse.gmf.runtime.emf.core,
> org.eclipse.gmf.runtime.emf.commands.core,
> org.eclipse.gmf.runtime.emf.ui.properties,
> org.eclipse.gmf.runtime.diagram.ui,
> org.eclipse.gmf.runtime.diagram.ui.properties,
> org.eclipse.gmf.runtime.diagram.ui.providers,
> org.eclipse.gmf.runtime.diagram.ui.providers.ide,
> org.eclipse.gmf.runtime.diagram.ui.render,
> org.eclipse.gmf.runtime.diagram.ui.resources.editor,
> org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide,
> org.eclipse.gmf.examples.mindmap;visibility:=reexport,
> org.eclipse.gmf.examples.mindmap.edit;visibility:=reexport,
> org.eclipse.ocl.ecore;visibility:=reexport,
> org.eclipse.emf.validation;visibility:=reexport,
> org.eclipse.gmf.runtime.draw2d.ui;visibility:=reexport,
> org.eclipse.gef;visibility:=reexport
> Eclipse-LazyStart: true
>
> Do you need any further information?
>
> greetings
> Philipp
>
> Martin Taal schrieb:
>> Hi Philipp,
>> A class path issue, did you set the reexport dependency on the
>> hibernate libraries plugin when setting it as a dependency of the
>> model package?
>> If this does not help can you give a summary of your plugin and
>> dependency structure as defined in the manifest.mf?
>>
>> gr. Martin
>>
>> Philipp Kretschmer wrote:
>>> Hi experts,
>>>
>>> I have a problem when I try to run the Teneo Tutorial with the Gmf
>>> Editor (http://www.elver.org/hibernate/gmftutorial/tutorial1.html).
>>>
>>> I get two Exceptions when I try to open the the "DB Editor" via the
>>> menubar.
>>>
>>> Here the Exceptions:
>>>
>>> !ENTRY org.eclipse.osgi 4 0 2009-07-31 09:43:54.718
>>> !MESSAGE An error occurred while automatically activating bundle
>>> org.eclipse.gmf.examples.mindmap.diagram (841).
>>> !STACK 0
>>> org.osgi.framework.BundleException: Exception in
>>> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start()
>>> of bundle org.eclipse.gmf.examples.mindmap.diagram.
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:805)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:754)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:352)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:280)
>>>
>>> at
>>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:408)
>>>
>>> at
>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>>>
>>> at
>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:449)
>>>
>>> at
>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:211)
>>>
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:376)
>>>
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:452)
>>>
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>>
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>>
>>> at
>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>>
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund leLoader.java:321)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:231)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1193)
>>>
>>> at
>>> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
>>>
>>> at
>>> org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:874)
>>>
>>> at
>>> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>>>
>>> at
>>> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>>>
>>> at
>>> org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:267)
>>> at
>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>> at
>>> org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:263)
>>>
>>> at
>>> org.eclipse.ui.internal.PluginAction.createDelegate(PluginAc tion.java:122)
>>>
>>> at
>>> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:223)
>>> at
>>> org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
>>>
>>> at
>>> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:584)
>>>
>>> at
>>> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:501)
>>>
>>> at
>>> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
>>>
>>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
>>> at
>>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880)
>>> at
>>> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
>>> at
>>> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
>>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
>>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
>>> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
>>> at
>>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>>>
>>> at
>>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
>>>
>>> at
>>> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>>> at
>>> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
>>>
>>> at
>>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
>>>
>>> at
>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>>>
>>> at
>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>>>
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
>>>
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>>>
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>>>
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>>>
>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
>>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
>>> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
>>> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
>>> Caused by: java.lang.NoClassDefFoundError: org/hibernate/Session
>>> at
>>> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start(MindmapDiagramEditorPlugin.java:81)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1 .run(BundleContextImpl.java:782)
>>>
>>> at java.security.AccessController.doPrivileged(Native Method)
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:773)
>>>
>>> ... 54 more
>>> Caused by: java.lang.ClassNotFoundException: org.hibernate.Session
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:489)
>>>
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>>
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>>
>>> at
>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>>
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
>>> ... 58 more
>>> Root exception:
>>> java.lang.NoClassDefFoundError: org/hibernate/Session
>>> at
>>> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start(MindmapDiagramEditorPlugin.java:81)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1 .run(BundleContextImpl.java:782)
>>>
>>> at java.security.AccessController.doPrivileged(Native Method)
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:773)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:754)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:352)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:280)
>>>
>>> at
>>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:408)
>>>
>>> at
>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>>>
>>> at
>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:449)
>>>
>>> at
>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:211)
>>>
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:376)
>>>
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:452)
>>>
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>>
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>>
>>> at
>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>>
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund leLoader.java:321)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:231)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1193)
>>>
>>> at
>>> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
>>>
>>> at
>>> org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:874)
>>>
>>> at
>>> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>>>
>>> at
>>> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>>>
>>> at
>>> org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:267)
>>> at
>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>> at
>>> org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:263)
>>>
>>> at
>>> org.eclipse.ui.internal.PluginAction.createDelegate(PluginAc tion.java:122)
>>>
>>> at
>>> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:223)
>>> at
>>> org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
>>>
>>> at
>>> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:584)
>>>
>>> at
>>> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:501)
>>>
>>> at
>>> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
>>>
>>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
>>> at
>>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880)
>>> at
>>> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
>>> at
>>> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
>>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
>>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
>>> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
>>> at
>>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>>>
>>> at
>>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
>>>
>>> at
>>> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>>> at
>>> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
>>>
>>> at
>>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
>>>
>>> at
>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>>>
>>> at
>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>>>
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
>>>
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>>>
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>>>
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>>>
>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
>>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
>>> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
>>> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
>>> Caused by: java.lang.ClassNotFoundException: org.hibernate.Session
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:489)
>>>
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>>
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>>
>>> at
>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>>
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
>>> ... 58 more
>>>
>>> !ENTRY org.eclipse.ui 4 4 2009-07-31 09:43:54.718
>>> !MESSAGE Could not create action delegate for id:
>>> mindmap.teneo.gmf.action0
>>>
>>> !ENTRY org.eclipse.equinox.registry 4 1 2009-07-31 09:43:54.718
>>> !MESSAGE Plug-in org.eclipse.gmf.examples.mindmap.diagram was unable
>>> to load class
>>> org.eclipse.gmf.examples.mindmap.diagram.db.OpenMindmapDBEdi tor.
>>> !STACK 0
>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter $TerminatingClassNotFoundException:
>>> An error occurred while automatically activating bundle
>>> org.eclipse.gmf.examples.mindmap.diagram (841).
>>> at
>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:125)
>>>
>>> at
>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:449)
>>>
>>> at
>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:211)
>>>
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:376)
>>>
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:452)
>>>
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>>
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>>
>>> at
>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>>
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund leLoader.java:321)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:231)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1193)
>>>
>>> at
>>> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
>>>
>>> at
>>> org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:874)
>>>
>>> at
>>> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>>>
>>> at
>>> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>>>
>>> at
>>> org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:267)
>>> at
>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>> at
>>> org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:263)
>>>
>>> at
>>> org.eclipse.ui.internal.PluginAction.createDelegate(PluginAc tion.java:122)
>>>
>>> at
>>> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:223)
>>> at
>>> org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
>>>
>>> at
>>> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:584)
>>>
>>> at
>>> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:501)
>>>
>>> at
>>> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
>>>
>>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
>>> at
>>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880)
>>> at
>>> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
>>> at
>>> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
>>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
>>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
>>> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
>>> at
>>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>>>
>>> at
>>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
>>>
>>> at
>>> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>>> at
>>> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
>>>
>>> at
>>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
>>>
>>> at
>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>>>
>>> at
>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>>>
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
>>>
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>>>
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>>>
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>>>
>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
>>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
>>> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
>>> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
>>> Caused by: org.osgi.framework.BundleException: Exception in
>>> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start()
>>> of bundle org.eclipse.gmf.examples.mindmap.diagram.
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:805)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:754)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:352)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:280)
>>>
>>> at
>>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:408)
>>>
>>> at
>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>>>
>>> ... 49 more
>>> Caused by: java.lang.NoClassDefFoundError: org/hibernate/Session
>>> at
>>> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start(MindmapDiagramEditorPlugin.java:81)
>>>
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1 .run(BundleContextImpl.java:782)
>>>
>>> at java.security.AccessController.doPrivileged(Native Method)
>>> at
>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:773)
>>>
>>> ... 54 more
>>> Caused by: java.lang.ClassNotFoundException: org.hibernate.Session
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:489)
>>>
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>>
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>>
>>> at
>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>>
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
>>> ... 58 more
>>>
>>>
>>> I made a Hibernate_Libraries Plugin and set the Eclipse-BuddyPolicy:
>>> dependent and added a dependency with reexport on it in the model
>>> plugin as described in the tutorial.
>>>
>>> My question:
>>> Can you give me an advice which configuration I have to adapt to
>>> solve this problem, cause i found nothing in the newsgroup solving my
>>> problem?
>>>
>>> Thanks for your help
>>> Philipp
>>
>>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [Teneo] Problems with Teneo Gmf Mindmap Tutorial [message #467862 is a reply to message #449205] Mon, 03 August 2009 08:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kretschmer.e-mundo.de

Hi Martin,

I paste my comments inline

Martin Taal schrieb:
> Hi Philipp,
> Hmm, to be honest I do not really understand why this fails... I assume
> that you run the Tutorial1 as a java program/junit testcase and not as a
> plugin (that's why the Tutorial1 passes).

Yes, I run it as java program.
>
> Can you check if you have -clean in the arguments tab of the run
> configuration? (a bit of a wild guess that this makes a difference...)

I added the -clean option but it did not help.
>
> I assume that all the plugins are loaded correctly in the test eclipse
> application (otherwise you would have gotten other errors)

Under the installed plugins tab in the test eclipse application the
Hibernate_Libraries Plugin is there.
>
> Another thing you can try is to create a new plugin project in the test
> eclipse application. Then let it depend on the hibernate plugin and add
> the tutorial1.java there and see if it runs there.

When I try this the org.hibernate cannot be resolved in tutorial1.java.


greetings
Philipp

>
> gr. Martin
>
> Philipp Kretschmer wrote:
>> Hi Martin,
>>
>> thanks for the fast reply.
>> Yes I set the reexport dependency on Hibernate_Libraries. It is a Java
>> Plugin where I added the hibernate3.jar and its required jar archives
>> to the root directory. Then I added all of them to the buildpath of
>> the Hibernate_Libraries plugin.
>>
>> If it helps, here is what I tried. I modified and run the
>> Tutorial1.java
>> (http://www.elver.org/hibernate/tutorialone/tutorial1_2.html) inside
>> the org.eclipse.gmf.examples.mindmap.diagram plugin and it worked. It
>> uses the hibernate session class, so it should be available in the
>> diagram plugin I think.
>>
>> Here the summary for the manifest.mf files:
>>
>> in the Hibernate_Libraries:
>>
>> Manifest-Version: 1.0
>> Bundle-ManifestVersion: 2
>> Bundle-Name: Hibernate_Libraries
>> Bundle-SymbolicName: Hibernate_Libraries
>> Bundle-Version: 1.0.0.qualifier
>> Eclipse-BuddyPolicy: dependent
>> Require-Bundle:
>> org.apache.commons.logging;bundle-version="1.0.4";visibility:=reexport
>> Export-Package: org.hibernate;
>> uses:="javax.naming,
>> org.hibernate.engine,
>> org.hibernate.jdbc,
>> org.hibernate.transform,
>> org.hibernate.type,
>> org.hibernate.exception,
>> org.hibernate.classic,
>> org.hibernate.metadata,
>> org.hibernate.criterion,
>> javax.transaction,
>> org.hibernate.stat"
>>
>> in org.eclipse.gmf.examples.mindmap:
>>
>> Manifest-Version: 1.0
>> Bundle-ManifestVersion: 2
>> Bundle-Name: %pluginName
>> Bundle-SymbolicName: org.eclipse.gmf.examples.mindmap; singleton:=true
>> Bundle-Version: 1.0.0
>> Bundle-ClassPath: .
>> Bundle-Vendor: %providerName
>> Bundle-Localization: plugin
>> Bundle-RequiredExecutionEnvironment: J2SE-1.5
>> Export-Package: org.eclipse.gmf.examples.mindmap,
>> org.eclipse.gmf.examples.mindmap.impl,
>> org.eclipse.gmf.examples.mindmap.util
>> Require-Bundle: org.eclipse.core.runtime,
>> org.eclipse.emf.ecore;visibility:=reexport,
>> org.eclipse.emf.ecore.xmi;visibility:=reexport,
>> Hibernate_Libraries;bundle-version="1.0.0";visibility:=reexport,
>>
>> org.eclipse.emf.teneo.hibernate;bundle-version="1.1.0";visibility:=reexport
>>
>> Eclipse-LazyStart: true
>>
>> in org.eclipse.gmf.examples.mindmap.diagram:
>>
>> Manifest-Version: 1.0
>> Bundle-ManifestVersion: 2
>> Bundle-Name: %pluginName
>> Bundle-SymbolicName: org.eclipse.gmf.examples.mindmap.diagram;
>> singleton:=true
>> Bundle-Version: 1.0.0.qualifier
>> Bundle-ClassPath: .
>> Bundle-Activator:
>> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin
>> Bundle-Vendor: %providerName
>> Bundle-Localization: plugin
>> Export-Package: org.eclipse.gmf.examples.mindmap.diagram.edit.parts,
>> org.eclipse.gmf.examples.mindmap.diagram.part,
>> org.eclipse.gmf.examples.mindmap.diagram.providers
>> Require-Bundle: org.eclipse.core.runtime,
>> org.eclipse.core.resources,
>> org.eclipse.core.expressions,
>> org.eclipse.jface,
>> org.eclipse.ui.ide,
>> org.eclipse.ui.views,
>> org.eclipse.ui.navigator,
>> org.eclipse.ui.navigator.resources,
>> org.eclipse.emf.ecore,
>> org.eclipse.emf.ecore.xmi,
>> org.eclipse.emf.edit.ui,
>> org.eclipse.gmf.runtime.emf.core,
>> org.eclipse.gmf.runtime.emf.commands.core,
>> org.eclipse.gmf.runtime.emf.ui.properties,
>> org.eclipse.gmf.runtime.diagram.ui,
>> org.eclipse.gmf.runtime.diagram.ui.properties,
>> org.eclipse.gmf.runtime.diagram.ui.providers,
>> org.eclipse.gmf.runtime.diagram.ui.providers.ide,
>> org.eclipse.gmf.runtime.diagram.ui.render,
>> org.eclipse.gmf.runtime.diagram.ui.resources.editor,
>> org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide,
>> org.eclipse.gmf.examples.mindmap;visibility:=reexport,
>> org.eclipse.gmf.examples.mindmap.edit;visibility:=reexport,
>> org.eclipse.ocl.ecore;visibility:=reexport,
>> org.eclipse.emf.validation;visibility:=reexport,
>> org.eclipse.gmf.runtime.draw2d.ui;visibility:=reexport,
>> org.eclipse.gef;visibility:=reexport
>> Eclipse-LazyStart: true
>>
>> Do you need any further information?
>>
>> greetings
>> Philipp
>>
>> Martin Taal schrieb:
>>> Hi Philipp,
>>> A class path issue, did you set the reexport dependency on the
>>> hibernate libraries plugin when setting it as a dependency of the
>>> model package?
>>> If this does not help can you give a summary of your plugin and
>>> dependency structure as defined in the manifest.mf?
>>>
>>> gr. Martin
>>>
>>> Philipp Kretschmer wrote:
>>>> Hi experts,
>>>>
>>>> I have a problem when I try to run the Teneo Tutorial with the Gmf
>>>> Editor (http://www.elver.org/hibernate/gmftutorial/tutorial1.html).
>>>>
>>>> I get two Exceptions when I try to open the the "DB Editor" via the
>>>> menubar.
>>>>
>>>> Here the Exceptions:
>>>>
>>>> !ENTRY org.eclipse.osgi 4 0 2009-07-31 09:43:54.718
>>>> !MESSAGE An error occurred while automatically activating bundle
>>>> org.eclipse.gmf.examples.mindmap.diagram (841).
>>>> !STACK 0
>>>> org.osgi.framework.BundleException: Exception in
>>>> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start()
>>>> of bundle org.eclipse.gmf.examples.mindmap.diagram.
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:805)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:754)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:352)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:280)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:408)
>>>>
>>>> at
>>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>>>>
>>>> at
>>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:449)
>>>>
>>>> at
>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:211)
>>>>
>>>> at
>>>> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:376)
>>>>
>>>> at
>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:452)
>>>>
>>>> at
>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>>>
>>>> at
>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>>>
>>>> at
>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>>>
>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>> at
>>>> org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund leLoader.java:321)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:231)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1193)
>>>>
>>>> at
>>>> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
>>>>
>>>> at
>>>> org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:874)
>>>>
>>>> at
>>>> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>>>>
>>>> at
>>>> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>>>>
>>>> at
>>>> org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:267)
>>>> at
>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>>> at
>>>> org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:263)
>>>>
>>>> at
>>>> org.eclipse.ui.internal.PluginAction.createDelegate(PluginAc tion.java:122)
>>>>
>>>> at
>>>> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:223)
>>>>
>>>> at
>>>> org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
>>>>
>>>> at
>>>> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:584)
>>>>
>>>> at
>>>> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:501)
>>>>
>>>> at
>>>> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
>>>>
>>>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
>>>> at
>>>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880)
>>>> at
>>>> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
>>>> at
>>>> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
>>>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
>>>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
>>>> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
>>>> at
>>>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>>>>
>>>> at
>>>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
>>>>
>>>> at
>>>> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>>>> at
>>>> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
>>>>
>>>> at
>>>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
>>>>
>>>> at
>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>>>>
>>>> at
>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>>>>
>>>> at
>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
>>>>
>>>> at
>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>>>>
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>>>>
>>>> at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>>>>
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
>>>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
>>>> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
>>>> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
>>>> Caused by: java.lang.NoClassDefFoundError: org/hibernate/Session
>>>> at
>>>> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start(MindmapDiagramEditorPlugin.java:81)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1 .run(BundleContextImpl.java:782)
>>>>
>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:773)
>>>>
>>>> ... 54 more
>>>> Caused by: java.lang.ClassNotFoundException: org.hibernate.Session
>>>> at
>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:489)
>>>>
>>>> at
>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>>>
>>>> at
>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>>>
>>>> at
>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>>>
>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
>>>> ... 58 more
>>>> Root exception:
>>>> java.lang.NoClassDefFoundError: org/hibernate/Session
>>>> at
>>>> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start(MindmapDiagramEditorPlugin.java:81)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1 .run(BundleContextImpl.java:782)
>>>>
>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:773)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:754)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:352)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:280)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:408)
>>>>
>>>> at
>>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>>>>
>>>> at
>>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:449)
>>>>
>>>> at
>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:211)
>>>>
>>>> at
>>>> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:376)
>>>>
>>>> at
>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:452)
>>>>
>>>> at
>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>>>
>>>> at
>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>>>
>>>> at
>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>>>
>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>> at
>>>> org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund leLoader.java:321)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:231)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1193)
>>>>
>>>> at
>>>> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
>>>>
>>>> at
>>>> org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:874)
>>>>
>>>> at
>>>> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>>>>
>>>> at
>>>> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>>>>
>>>> at
>>>> org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:267)
>>>> at
>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>>> at
>>>> org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:263)
>>>>
>>>> at
>>>> org.eclipse.ui.internal.PluginAction.createDelegate(PluginAc tion.java:122)
>>>>
>>>> at
>>>> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:223)
>>>>
>>>> at
>>>> org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
>>>>
>>>> at
>>>> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:584)
>>>>
>>>> at
>>>> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:501)
>>>>
>>>> at
>>>> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
>>>>
>>>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
>>>> at
>>>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880)
>>>> at
>>>> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
>>>> at
>>>> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
>>>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
>>>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
>>>> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
>>>> at
>>>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>>>>
>>>> at
>>>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
>>>>
>>>> at
>>>> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>>>> at
>>>> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
>>>>
>>>> at
>>>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
>>>>
>>>> at
>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>>>>
>>>> at
>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>>>>
>>>> at
>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
>>>>
>>>> at
>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>>>>
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>>>>
>>>> at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>>>>
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
>>>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
>>>> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
>>>> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
>>>> Caused by: java.lang.ClassNotFoundException: org.hibernate.Session
>>>> at
>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:489)
>>>>
>>>> at
>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>>>
>>>> at
>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>>>
>>>> at
>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>>>
>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
>>>> ... 58 more
>>>>
>>>> !ENTRY org.eclipse.ui 4 4 2009-07-31 09:43:54.718
>>>> !MESSAGE Could not create action delegate for id:
>>>> mindmap.teneo.gmf.action0
>>>>
>>>> !ENTRY org.eclipse.equinox.registry 4 1 2009-07-31 09:43:54.718
>>>> !MESSAGE Plug-in org.eclipse.gmf.examples.mindmap.diagram was unable
>>>> to load class
>>>> org.eclipse.gmf.examples.mindmap.diagram.db.OpenMindmapDBEdi tor.
>>>> !STACK 0
>>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter $TerminatingClassNotFoundException:
>>>> An error occurred while automatically activating bundle
>>>> org.eclipse.gmf.examples.mindmap.diagram (841).
>>>> at
>>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:125)
>>>>
>>>> at
>>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:449)
>>>>
>>>> at
>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:211)
>>>>
>>>> at
>>>> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:376)
>>>>
>>>> at
>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:452)
>>>>
>>>> at
>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>>>
>>>> at
>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>>>
>>>> at
>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>>>
>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>> at
>>>> org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund leLoader.java:321)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:231)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1193)
>>>>
>>>> at
>>>> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
>>>>
>>>> at
>>>> org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:874)
>>>>
>>>> at
>>>> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>>>>
>>>> at
>>>> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>>>>
>>>> at
>>>> org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:267)
>>>> at
>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>>> at
>>>> org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:263)
>>>>
>>>> at
>>>> org.eclipse.ui.internal.PluginAction.createDelegate(PluginAc tion.java:122)
>>>>
>>>> at
>>>> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:223)
>>>>
>>>> at
>>>> org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
>>>>
>>>> at
>>>> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:584)
>>>>
>>>> at
>>>> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:501)
>>>>
>>>> at
>>>> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
>>>>
>>>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
>>>> at
>>>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880)
>>>> at
>>>> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
>>>> at
>>>> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
>>>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
>>>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
>>>> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
>>>> at
>>>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>>>>
>>>> at
>>>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
>>>>
>>>> at
>>>> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>>>> at
>>>> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
>>>>
>>>> at
>>>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
>>>>
>>>> at
>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>>>>
>>>> at
>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>>>>
>>>> at
>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
>>>>
>>>> at
>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>>>>
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>>>>
>>>> at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>>>>
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
>>>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
>>>> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
>>>> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
>>>> Caused by: org.osgi.framework.BundleException: Exception in
>>>> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start()
>>>> of bundle org.eclipse.gmf.examples.mindmap.diagram.
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:805)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:754)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:352)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:280)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:408)
>>>>
>>>> at
>>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>>>>
>>>> ... 49 more
>>>> Caused by: java.lang.NoClassDefFoundError: org/hibernate/Session
>>>> at
>>>> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start(MindmapDiagramEditorPlugin.java:81)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1 .run(BundleContextImpl.java:782)
>>>>
>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:773)
>>>>
>>>> ... 54 more
>>>> Caused by: java.lang.ClassNotFoundException: org.hibernate.Session
>>>> at
>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:489)
>>>>
>>>> at
>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>>>
>>>> at
>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>>>
>>>> at
>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>>>
>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
>>>> ... 58 more
>>>>
>>>>
>>>> I made a Hibernate_Libraries Plugin and set the Eclipse-BuddyPolicy:
>>>> dependent and added a dependency with reexport on it in the model
>>>> plugin as described in the tutorial.
>>>>
>>>> My question:
>>>> Can you give me an advice which configuration I have to adapt to
>>>> solve this problem, cause i found nothing in the newsgroup solving
>>>> my problem?
>>>>
>>>> Thanks for your help
>>>> Philipp
>>>
>>>
>
>
Re: [Teneo] Problems with Teneo Gmf Mindmap Tutorial [message #467870 is a reply to message #467862] Mon, 03 August 2009 09:12 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Philipp,
Okay, I am afraid that it is difficult for me to help on this, so it is best that you try different things to get the
tutorial1.java to compile in the test work space...

gr. Martin

Philipp Kretschmer wrote:
> Hi Martin,
>
> I paste my comments inline
>
> Martin Taal schrieb:
>> Hi Philipp,
>> Hmm, to be honest I do not really understand why this fails... I
>> assume that you run the Tutorial1 as a java program/junit testcase and
>> not as a plugin (that's why the Tutorial1 passes).
>
> Yes, I run it as java program.
>>
>> Can you check if you have -clean in the arguments tab of the run
>> configuration? (a bit of a wild guess that this makes a difference...)
>
> I added the -clean option but it did not help.
>>
>> I assume that all the plugins are loaded correctly in the test eclipse
>> application (otherwise you would have gotten other errors)
>
> Under the installed plugins tab in the test eclipse application the
> Hibernate_Libraries Plugin is there.
>>
>> Another thing you can try is to create a new plugin project in the
>> test eclipse application. Then let it depend on the hibernate plugin
>> and add the tutorial1.java there and see if it runs there.
>
> When I try this the org.hibernate cannot be resolved in tutorial1.java.
>
>
> greetings
> Philipp
>
>>
>> gr. Martin
>>
>> Philipp Kretschmer wrote:
>>> Hi Martin,
>>>
>>> thanks for the fast reply.
>>> Yes I set the reexport dependency on Hibernate_Libraries. It is a
>>> Java Plugin where I added the hibernate3.jar and its required jar
>>> archives to the root directory. Then I added all of them to the
>>> buildpath of the Hibernate_Libraries plugin.
>>>
>>> If it helps, here is what I tried. I modified and run the
>>> Tutorial1.java
>>> (http://www.elver.org/hibernate/tutorialone/tutorial1_2.html) inside
>>> the org.eclipse.gmf.examples.mindmap.diagram plugin and it worked. It
>>> uses the hibernate session class, so it should be available in the
>>> diagram plugin I think.
>>>
>>> Here the summary for the manifest.mf files:
>>>
>>> in the Hibernate_Libraries:
>>>
>>> Manifest-Version: 1.0
>>> Bundle-ManifestVersion: 2
>>> Bundle-Name: Hibernate_Libraries
>>> Bundle-SymbolicName: Hibernate_Libraries
>>> Bundle-Version: 1.0.0.qualifier
>>> Eclipse-BuddyPolicy: dependent
>>> Require-Bundle:
>>> org.apache.commons.logging;bundle-version="1.0.4";visibility:=reexport
>>> Export-Package: org.hibernate;
>>> uses:="javax.naming,
>>> org.hibernate.engine,
>>> org.hibernate.jdbc,
>>> org.hibernate.transform,
>>> org.hibernate.type,
>>> org.hibernate.exception,
>>> org.hibernate.classic,
>>> org.hibernate.metadata,
>>> org.hibernate.criterion,
>>> javax.transaction,
>>> org.hibernate.stat"
>>>
>>> in org.eclipse.gmf.examples.mindmap:
>>>
>>> Manifest-Version: 1.0
>>> Bundle-ManifestVersion: 2
>>> Bundle-Name: %pluginName
>>> Bundle-SymbolicName: org.eclipse.gmf.examples.mindmap; singleton:=true
>>> Bundle-Version: 1.0.0
>>> Bundle-ClassPath: .
>>> Bundle-Vendor: %providerName
>>> Bundle-Localization: plugin
>>> Bundle-RequiredExecutionEnvironment: J2SE-1.5
>>> Export-Package: org.eclipse.gmf.examples.mindmap,
>>> org.eclipse.gmf.examples.mindmap.impl,
>>> org.eclipse.gmf.examples.mindmap.util
>>> Require-Bundle: org.eclipse.core.runtime,
>>> org.eclipse.emf.ecore;visibility:=reexport,
>>> org.eclipse.emf.ecore.xmi;visibility:=reexport,
>>> Hibernate_Libraries;bundle-version="1.0.0";visibility:=reexport,
>>>
>>> org.eclipse.emf.teneo.hibernate;bundle-version="1.1.0";visibility:=reexport
>>>
>>> Eclipse-LazyStart: true
>>>
>>> in org.eclipse.gmf.examples.mindmap.diagram:
>>>
>>> Manifest-Version: 1.0
>>> Bundle-ManifestVersion: 2
>>> Bundle-Name: %pluginName
>>> Bundle-SymbolicName: org.eclipse.gmf.examples.mindmap.diagram;
>>> singleton:=true
>>> Bundle-Version: 1.0.0.qualifier
>>> Bundle-ClassPath: .
>>> Bundle-Activator:
>>> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin
>>> Bundle-Vendor: %providerName
>>> Bundle-Localization: plugin
>>> Export-Package: org.eclipse.gmf.examples.mindmap.diagram.edit.parts,
>>> org.eclipse.gmf.examples.mindmap.diagram.part,
>>> org.eclipse.gmf.examples.mindmap.diagram.providers
>>> Require-Bundle: org.eclipse.core.runtime,
>>> org.eclipse.core.resources,
>>> org.eclipse.core.expressions,
>>> org.eclipse.jface,
>>> org.eclipse.ui.ide,
>>> org.eclipse.ui.views,
>>> org.eclipse.ui.navigator,
>>> org.eclipse.ui.navigator.resources,
>>> org.eclipse.emf.ecore,
>>> org.eclipse.emf.ecore.xmi,
>>> org.eclipse.emf.edit.ui,
>>> org.eclipse.gmf.runtime.emf.core,
>>> org.eclipse.gmf.runtime.emf.commands.core,
>>> org.eclipse.gmf.runtime.emf.ui.properties,
>>> org.eclipse.gmf.runtime.diagram.ui,
>>> org.eclipse.gmf.runtime.diagram.ui.properties,
>>> org.eclipse.gmf.runtime.diagram.ui.providers,
>>> org.eclipse.gmf.runtime.diagram.ui.providers.ide,
>>> org.eclipse.gmf.runtime.diagram.ui.render,
>>> org.eclipse.gmf.runtime.diagram.ui.resources.editor,
>>> org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide,
>>> org.eclipse.gmf.examples.mindmap;visibility:=reexport,
>>> org.eclipse.gmf.examples.mindmap.edit;visibility:=reexport,
>>> org.eclipse.ocl.ecore;visibility:=reexport,
>>> org.eclipse.emf.validation;visibility:=reexport,
>>> org.eclipse.gmf.runtime.draw2d.ui;visibility:=reexport,
>>> org.eclipse.gef;visibility:=reexport
>>> Eclipse-LazyStart: true
>>>
>>> Do you need any further information?
>>>
>>> greetings
>>> Philipp
>>>
>>> Martin Taal schrieb:
>>>> Hi Philipp,
>>>> A class path issue, did you set the reexport dependency on the
>>>> hibernate libraries plugin when setting it as a dependency of the
>>>> model package?
>>>> If this does not help can you give a summary of your plugin and
>>>> dependency structure as defined in the manifest.mf?
>>>>
>>>> gr. Martin
>>>>
>>>> Philipp Kretschmer wrote:
>>>>> Hi experts,
>>>>>
>>>>> I have a problem when I try to run the Teneo Tutorial with the Gmf
>>>>> Editor (http://www.elver.org/hibernate/gmftutorial/tutorial1.html).
>>>>>
>>>>> I get two Exceptions when I try to open the the "DB Editor" via the
>>>>> menubar.
>>>>>
>>>>> Here the Exceptions:
>>>>>
>>>>> !ENTRY org.eclipse.osgi 4 0 2009-07-31 09:43:54.718
>>>>> !MESSAGE An error occurred while automatically activating bundle
>>>>> org.eclipse.gmf.examples.mindmap.diagram (841).
>>>>> !STACK 0
>>>>> org.osgi.framework.BundleException: Exception in
>>>>> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start()
>>>>> of bundle org.eclipse.gmf.examples.mindmap.diagram.
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:805)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:754)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:352)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:280)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:408)
>>>>>
>>>>> at
>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:449)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:211)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:376)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:452)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>>>>
>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>>> at
>>>>> org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund leLoader.java:321)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:231)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1193)
>>>>>
>>>>> at
>>>>> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
>>>>>
>>>>> at
>>>>> org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:874)
>>>>>
>>>>> at
>>>>> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>>>>>
>>>>> at
>>>>> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>>>>>
>>>>> at
>>>>> org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:267)
>>>>>
>>>>> at
>>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>>>> at
>>>>> org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:263)
>>>>>
>>>>> at
>>>>> org.eclipse.ui.internal.PluginAction.createDelegate(PluginAc tion.java:122)
>>>>>
>>>>> at
>>>>> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:223)
>>>>>
>>>>> at
>>>>> org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
>>>>>
>>>>> at
>>>>> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:584)
>>>>>
>>>>> at
>>>>> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:501)
>>>>>
>>>>> at
>>>>> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
>>>>>
>>>>> at
>>>>> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
>>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
>>>>> at
>>>>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880)
>>>>> at
>>>>> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
>>>>> at
>>>>> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
>>>>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
>>>>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
>>>>> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
>>>>> at
>>>>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>>>>>
>>>>> at
>>>>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
>>>>>
>>>>> at
>>>>> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>>>>> at
>>>>> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
>>>>>
>>>>> at
>>>>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
>>>>>
>>>>> at
>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>>>>>
>>>>> at
>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>>>>>
>>>>> at
>>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
>>>>>
>>>>> at
>>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>>>>>
>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> at
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>>>>>
>>>>> at
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>>>>>
>>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>>> at
>>>>> org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
>>>>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
>>>>> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
>>>>> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
>>>>> Caused by: java.lang.NoClassDefFoundError: org/hibernate/Session
>>>>> at
>>>>> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start(MindmapDiagramEditorPlugin.java:81)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1 .run(BundleContextImpl.java:782)
>>>>>
>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:773)
>>>>>
>>>>> ... 54 more
>>>>> Caused by: java.lang.ClassNotFoundException: org.hibernate.Session
>>>>> at
>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:489)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>>>>
>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
>>>>> ... 58 more
>>>>> Root exception:
>>>>> java.lang.NoClassDefFoundError: org/hibernate/Session
>>>>> at
>>>>> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start(MindmapDiagramEditorPlugin.java:81)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1 .run(BundleContextImpl.java:782)
>>>>>
>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:773)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:754)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:352)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:280)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:408)
>>>>>
>>>>> at
>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:449)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:211)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:376)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:452)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>>>>
>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>>> at
>>>>> org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund leLoader.java:321)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:231)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1193)
>>>>>
>>>>> at
>>>>> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
>>>>>
>>>>> at
>>>>> org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:874)
>>>>>
>>>>> at
>>>>> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>>>>>
>>>>> at
>>>>> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>>>>>
>>>>> at
>>>>> org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:267)
>>>>>
>>>>> at
>>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>>>> at
>>>>> org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:263)
>>>>>
>>>>> at
>>>>> org.eclipse.ui.internal.PluginAction.createDelegate(PluginAc tion.java:122)
>>>>>
>>>>> at
>>>>> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:223)
>>>>>
>>>>> at
>>>>> org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
>>>>>
>>>>> at
>>>>> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:584)
>>>>>
>>>>> at
>>>>> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:501)
>>>>>
>>>>> at
>>>>> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
>>>>>
>>>>> at
>>>>> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
>>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
>>>>> at
>>>>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880)
>>>>> at
>>>>> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
>>>>> at
>>>>> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
>>>>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
>>>>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
>>>>> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
>>>>> at
>>>>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>>>>>
>>>>> at
>>>>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
>>>>>
>>>>> at
>>>>> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>>>>> at
>>>>> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
>>>>>
>>>>> at
>>>>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
>>>>>
>>>>> at
>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>>>>>
>>>>> at
>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>>>>>
>>>>> at
>>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
>>>>>
>>>>> at
>>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>>>>>
>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> at
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>>>>>
>>>>> at
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>>>>>
>>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>>> at
>>>>> org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
>>>>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
>>>>> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
>>>>> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
>>>>> Caused by: java.lang.ClassNotFoundException: org.hibernate.Session
>>>>> at
>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:489)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>>>>
>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
>>>>> ... 58 more
>>>>>
>>>>> !ENTRY org.eclipse.ui 4 4 2009-07-31 09:43:54.718
>>>>> !MESSAGE Could not create action delegate for id:
>>>>> mindmap.teneo.gmf.action0
>>>>>
>>>>> !ENTRY org.eclipse.equinox.registry 4 1 2009-07-31 09:43:54.718
>>>>> !MESSAGE Plug-in org.eclipse.gmf.examples.mindmap.diagram was
>>>>> unable to load class
>>>>> org.eclipse.gmf.examples.mindmap.diagram.db.OpenMindmapDBEdi tor.
>>>>> !STACK 0
>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter $TerminatingClassNotFoundException:
>>>>> An error occurred while automatically activating bundle
>>>>> org.eclipse.gmf.examples.mindmap.diagram (841).
>>>>> at
>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:125)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:449)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:211)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:376)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:452)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>>>>
>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>>> at
>>>>> org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund leLoader.java:321)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:231)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1193)
>>>>>
>>>>> at
>>>>> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
>>>>>
>>>>> at
>>>>> org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:874)
>>>>>
>>>>> at
>>>>> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>>>>>
>>>>> at
>>>>> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>>>>>
>>>>> at
>>>>> org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:267)
>>>>>
>>>>> at
>>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>>>> at
>>>>> org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:263)
>>>>>
>>>>> at
>>>>> org.eclipse.ui.internal.PluginAction.createDelegate(PluginAc tion.java:122)
>>>>>
>>>>> at
>>>>> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:223)
>>>>>
>>>>> at
>>>>> org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
>>>>>
>>>>> at
>>>>> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:584)
>>>>>
>>>>> at
>>>>> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:501)
>>>>>
>>>>> at
>>>>> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
>>>>>
>>>>> at
>>>>> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
>>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
>>>>> at
>>>>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880)
>>>>> at
>>>>> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
>>>>> at
>>>>> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
>>>>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
>>>>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
>>>>> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
>>>>> at
>>>>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>>>>>
>>>>> at
>>>>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
>>>>>
>>>>> at
>>>>> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>>>>> at
>>>>> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
>>>>>
>>>>> at
>>>>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
>>>>>
>>>>> at
>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>>>>>
>>>>> at
>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>>>>>
>>>>> at
>>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
>>>>>
>>>>> at
>>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>>>>>
>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> at
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>>>>>
>>>>> at
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>>>>>
>>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>>> at
>>>>> org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
>>>>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
>>>>> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
>>>>> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
>>>>> Caused by: org.osgi.framework.BundleException: Exception in
>>>>> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start()
>>>>> of bundle org.eclipse.gmf.examples.mindmap.diagram.
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:805)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:754)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:352)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:280)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:408)
>>>>>
>>>>> at
>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>>>>>
>>>>> ... 49 more
>>>>> Caused by: java.lang.NoClassDefFoundError: org/hibernate/Session
>>>>> at
>>>>> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start(MindmapDiagramEditorPlugin.java:81)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1 .run(BundleContextImpl.java:782)
>>>>>
>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:773)
>>>>>
>>>>> ... 54 more
>>>>> Caused by: java.lang.ClassNotFoundException: org.hibernate.Session
>>>>> at
>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:489)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>>>>
>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
>>>>> ... 58 more
>>>>>
>>>>>
>>>>> I made a Hibernate_Libraries Plugin and set the
>>>>> Eclipse-BuddyPolicy: dependent and added a dependency with reexport
>>>>> on it in the model plugin as described in the tutorial.
>>>>>
>>>>> My question:
>>>>> Can you give me an advice which configuration I have to adapt to
>>>>> solve this problem, cause i found nothing in the newsgroup solving
>>>>> my problem?
>>>>>
>>>>> Thanks for your help
>>>>> Philipp
>>>>
>>>>
>>
>>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [Teneo] Problems with Teneo Gmf Mindmap Tutorial [message #467890 is a reply to message #467870] Mon, 03 August 2009 10:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kretschmer.e-mundo.de

Hi Martin,

thanks for your help. Would it help if I send you the plugins perhaps
you can say more than?

greetings
Philipp

Martin Taal schrieb:
> Hi Philipp,
> Okay, I am afraid that it is difficult for me to help on this, so it is
> best that you try different things to get the tutorial1.java to compile
> in the test work space...
>
> gr. Martin
>
> Philipp Kretschmer wrote:
>> Hi Martin,
>>
>> I paste my comments inline
>>
>> Martin Taal schrieb:
>>> Hi Philipp,
>>> Hmm, to be honest I do not really understand why this fails... I
>>> assume that you run the Tutorial1 as a java program/junit testcase
>>> and not as a plugin (that's why the Tutorial1 passes).
>>
>> Yes, I run it as java program.
>>>
>>> Can you check if you have -clean in the arguments tab of the run
>>> configuration? (a bit of a wild guess that this makes a difference...)
>>
>> I added the -clean option but it did not help.
>>>
>>> I assume that all the plugins are loaded correctly in the test
>>> eclipse application (otherwise you would have gotten other errors)
>>
>> Under the installed plugins tab in the test eclipse application the
>> Hibernate_Libraries Plugin is there.
>>>
>>> Another thing you can try is to create a new plugin project in the
>>> test eclipse application. Then let it depend on the hibernate plugin
>>> and add the tutorial1.java there and see if it runs there.
>>
>> When I try this the org.hibernate cannot be resolved in tutorial1.java.
>>
>>
>> greetings
>> Philipp
>>
>>>
>>> gr. Martin
>>>
>>> Philipp Kretschmer wrote:
>>>> Hi Martin,
>>>>
>>>> thanks for the fast reply.
>>>> Yes I set the reexport dependency on Hibernate_Libraries. It is a
>>>> Java Plugin where I added the hibernate3.jar and its required jar
>>>> archives to the root directory. Then I added all of them to the
>>>> buildpath of the Hibernate_Libraries plugin.
>>>>
>>>> If it helps, here is what I tried. I modified and run the
>>>> Tutorial1.java
>>>> (http://www.elver.org/hibernate/tutorialone/tutorial1_2.html) inside
>>>> the org.eclipse.gmf.examples.mindmap.diagram plugin and it worked.
>>>> It uses the hibernate session class, so it should be available in
>>>> the diagram plugin I think.
>>>>
>>>> Here the summary for the manifest.mf files:
>>>>
>>>> in the Hibernate_Libraries:
>>>>
>>>> Manifest-Version: 1.0
>>>> Bundle-ManifestVersion: 2
>>>> Bundle-Name: Hibernate_Libraries
>>>> Bundle-SymbolicName: Hibernate_Libraries
>>>> Bundle-Version: 1.0.0.qualifier
>>>> Eclipse-BuddyPolicy: dependent
>>>> Require-Bundle:
>>>> org.apache.commons.logging;bundle-version="1.0.4";visibility:=reexport
>>>> Export-Package: org.hibernate;
>>>> uses:="javax.naming,
>>>> org.hibernate.engine,
>>>> org.hibernate.jdbc,
>>>> org.hibernate.transform,
>>>> org.hibernate.type,
>>>> org.hibernate.exception,
>>>> org.hibernate.classic,
>>>> org.hibernate.metadata,
>>>> org.hibernate.criterion,
>>>> javax.transaction,
>>>> org.hibernate.stat"
>>>>
>>>> in org.eclipse.gmf.examples.mindmap:
>>>>
>>>> Manifest-Version: 1.0
>>>> Bundle-ManifestVersion: 2
>>>> Bundle-Name: %pluginName
>>>> Bundle-SymbolicName: org.eclipse.gmf.examples.mindmap; singleton:=true
>>>> Bundle-Version: 1.0.0
>>>> Bundle-ClassPath: .
>>>> Bundle-Vendor: %providerName
>>>> Bundle-Localization: plugin
>>>> Bundle-RequiredExecutionEnvironment: J2SE-1.5
>>>> Export-Package: org.eclipse.gmf.examples.mindmap,
>>>> org.eclipse.gmf.examples.mindmap.impl,
>>>> org.eclipse.gmf.examples.mindmap.util
>>>> Require-Bundle: org.eclipse.core.runtime,
>>>> org.eclipse.emf.ecore;visibility:=reexport,
>>>> org.eclipse.emf.ecore.xmi;visibility:=reexport,
>>>> Hibernate_Libraries;bundle-version="1.0.0";visibility:=reexport,
>>>>
>>>> org.eclipse.emf.teneo.hibernate;bundle-version="1.1.0";visibility:=reexport
>>>>
>>>> Eclipse-LazyStart: true
>>>>
>>>> in org.eclipse.gmf.examples.mindmap.diagram:
>>>>
>>>> Manifest-Version: 1.0
>>>> Bundle-ManifestVersion: 2
>>>> Bundle-Name: %pluginName
>>>> Bundle-SymbolicName: org.eclipse.gmf.examples.mindmap.diagram;
>>>> singleton:=true
>>>> Bundle-Version: 1.0.0.qualifier
>>>> Bundle-ClassPath: .
>>>> Bundle-Activator:
>>>> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin
>>>>
>>>> Bundle-Vendor: %providerName
>>>> Bundle-Localization: plugin
>>>> Export-Package: org.eclipse.gmf.examples.mindmap.diagram.edit.parts,
>>>> org.eclipse.gmf.examples.mindmap.diagram.part,
>>>> org.eclipse.gmf.examples.mindmap.diagram.providers
>>>> Require-Bundle: org.eclipse.core.runtime,
>>>> org.eclipse.core.resources,
>>>> org.eclipse.core.expressions,
>>>> org.eclipse.jface,
>>>> org.eclipse.ui.ide,
>>>> org.eclipse.ui.views,
>>>> org.eclipse.ui.navigator,
>>>> org.eclipse.ui.navigator.resources,
>>>> org.eclipse.emf.ecore,
>>>> org.eclipse.emf.ecore.xmi,
>>>> org.eclipse.emf.edit.ui,
>>>> org.eclipse.gmf.runtime.emf.core,
>>>> org.eclipse.gmf.runtime.emf.commands.core,
>>>> org.eclipse.gmf.runtime.emf.ui.properties,
>>>> org.eclipse.gmf.runtime.diagram.ui,
>>>> org.eclipse.gmf.runtime.diagram.ui.properties,
>>>> org.eclipse.gmf.runtime.diagram.ui.providers,
>>>> org.eclipse.gmf.runtime.diagram.ui.providers.ide,
>>>> org.eclipse.gmf.runtime.diagram.ui.render,
>>>> org.eclipse.gmf.runtime.diagram.ui.resources.editor,
>>>> org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide,
>>>> org.eclipse.gmf.examples.mindmap;visibility:=reexport,
>>>> org.eclipse.gmf.examples.mindmap.edit;visibility:=reexport,
>>>> org.eclipse.ocl.ecore;visibility:=reexport,
>>>> org.eclipse.emf.validation;visibility:=reexport,
>>>> org.eclipse.gmf.runtime.draw2d.ui;visibility:=reexport,
>>>> org.eclipse.gef;visibility:=reexport
>>>> Eclipse-LazyStart: true
>>>>
>>>> Do you need any further information?
>>>>
>>>> greetings
>>>> Philipp
>>>>
>>>> Martin Taal schrieb:
>>>>> Hi Philipp,
>>>>> A class path issue, did you set the reexport dependency on the
>>>>> hibernate libraries plugin when setting it as a dependency of the
>>>>> model package?
>>>>> If this does not help can you give a summary of your plugin and
>>>>> dependency structure as defined in the manifest.mf?
>>>>>
>>>>> gr. Martin
>>>>>
>>>>> Philipp Kretschmer wrote:
>>>>>> Hi experts,
>>>>>>
>>>>>> I have a problem when I try to run the Teneo Tutorial with the Gmf
>>>>>> Editor (http://www.elver.org/hibernate/gmftutorial/tutorial1.html).
>>>>>>
>>>>>> I get two Exceptions when I try to open the the "DB Editor" via
>>>>>> the menubar.
>>>>>>
>>>>>> Here the Exceptions:
>>>>>>
>>>>>> !ENTRY org.eclipse.osgi 4 0 2009-07-31 09:43:54.718
>>>>>> !MESSAGE An error occurred while automatically activating bundle
>>>>>> org.eclipse.gmf.examples.mindmap.diagram (841).
>>>>>> !STACK 0
>>>>>> org.osgi.framework.BundleException: Exception in
>>>>>> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start()
>>>>>> of bundle org.eclipse.gmf.examples.mindmap.diagram.
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:805)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:754)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:352)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:280)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:408)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:449)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:211)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:376)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:452)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>>>>>
>>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>>>> at
>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund leLoader.java:321)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:231)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1193)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:874)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:267)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>>>>> at
>>>>>> org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:263)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.ui.internal.PluginAction.createDelegate(PluginAc tion.java:122)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:223)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:584)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:501)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
>>>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
>>>>>> at
>>>>>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880)
>>>>>> at
>>>>>> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
>>>>>> at
>>>>>> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
>>>>>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
>>>>>> at
>>>>>> org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
>>>>>> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
>>>>>> at
>>>>>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>>>>>> at
>>>>>> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>>>>>>
>>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>> at
>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>>>>>>
>>>>>> at
>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>>>>>>
>>>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>>>> at
>>>>>> org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
>>>>>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
>>>>>> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
>>>>>> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
>>>>>> Caused by: java.lang.NoClassDefFoundError: org/hibernate/Session
>>>>>> at
>>>>>> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start(MindmapDiagramEditorPlugin.java:81)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1 .run(BundleContextImpl.java:782)
>>>>>>
>>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:773)
>>>>>>
>>>>>> ... 54 more
>>>>>> Caused by: java.lang.ClassNotFoundException: org.hibernate.Session
>>>>>> at
>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:489)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>>>>>
>>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>>>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
>>>>>> ... 58 more
>>>>>> Root exception:
>>>>>> java.lang.NoClassDefFoundError: org/hibernate/Session
>>>>>> at
>>>>>> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start(MindmapDiagramEditorPlugin.java:81)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1 .run(BundleContextImpl.java:782)
>>>>>>
>>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:773)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:754)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:352)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:280)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:408)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:449)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:211)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:376)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:452)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>>>>>
>>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>>>> at
>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund leLoader.java:321)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:231)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1193)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:874)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:267)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>>>>> at
>>>>>> org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:263)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.ui.internal.PluginAction.createDelegate(PluginAc tion.java:122)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:223)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:584)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:501)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
>>>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
>>>>>> at
>>>>>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880)
>>>>>> at
>>>>>> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
>>>>>> at
>>>>>> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
>>>>>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
>>>>>> at
>>>>>> org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
>>>>>> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
>>>>>> at
>>>>>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>>>>>> at
>>>>>> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>>>>>>
>>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>> at
>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>>>>>>
>>>>>> at
>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>>>>>>
>>>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>>>> at
>>>>>> org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
>>>>>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
>>>>>> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
>>>>>> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
>>>>>> Caused by: java.lang.ClassNotFoundException: org.hibernate.Session
>>>>>> at
>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:489)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>>>>>
>>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>>>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
>>>>>> ... 58 more
>>>>>>
>>>>>> !ENTRY org.eclipse.ui 4 4 2009-07-31 09:43:54.718
>>>>>> !MESSAGE Could not create action delegate for id:
>>>>>> mindmap.teneo.gmf.action0
>>>>>>
>>>>>> !ENTRY org.eclipse.equinox.registry 4 1 2009-07-31 09:43:54.718
>>>>>> !MESSAGE Plug-in org.eclipse.gmf.examples.mindmap.diagram was
>>>>>> unable to load class
>>>>>> org.eclipse.gmf.examples.mindmap.diagram.db.OpenMindmapDBEdi tor.
>>>>>> !STACK 0
>>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter $TerminatingClassNotFoundException:
>>>>>> An error occurred while automatically activating bundle
>>>>>> org.eclipse.gmf.examples.mindmap.diagram (841).
>>>>>> at
>>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:125)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:449)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:211)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:376)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:452)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>>>>>
>>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>>>> at
>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund leLoader.java:321)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:231)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1193)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:874)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:267)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>>>>> at
>>>>>> org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:263)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.ui.internal.PluginAction.createDelegate(PluginAc tion.java:122)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:223)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:584)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:501)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
>>>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
>>>>>> at
>>>>>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880)
>>>>>> at
>>>>>> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
>>>>>> at
>>>>>> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
>>>>>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
>>>>>> at
>>>>>> org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
>>>>>> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
>>>>>> at
>>>>>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>>>>>> at
>>>>>> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>>>>>>
>>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>> at
>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>>>>>>
>>>>>> at
>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>>>>>>
>>>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>>>> at
>>>>>> org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
>>>>>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
>>>>>> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
>>>>>> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
>>>>>> Caused by: org.osgi.framework.BundleException: Exception in
>>>>>> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start()
>>>>>> of bundle org.eclipse.gmf.examples.mindmap.diagram.
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:805)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:754)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:352)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:280)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:408)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>>>>>>
>>>>>> ... 49 more
>>>>>> Caused by: java.lang.NoClassDefFoundError: org/hibernate/Session
>>>>>> at
>>>>>> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start(MindmapDiagramEditorPlugin.java:81)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1 .run(BundleContextImpl.java:782)
>>>>>>
>>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>>> at
>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:773)
>>>>>>
>>>>>> ... 54 more
>>>>>> Caused by: java.lang.ClassNotFoundException: org.hibernate.Session
>>>>>> at
>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:489)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>>>>>
>>>>>> at
>>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>>>>>
>>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>>>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
>>>>>> ... 58 more
>>>>>>
>>>>>>
>>>>>> I made a Hibernate_Libraries Plugin and set the
>>>>>> Eclipse-BuddyPolicy: dependent and added a dependency with
>>>>>> reexport on it in the model plugin as described in the tutorial.
>>>>>>
>>>>>> My question:
>>>>>> Can you give me an advice which configuration I have to adapt to
>>>>>> solve this problem, cause i found nothing in the newsgroup solving
>>>>>> my problem?
>>>>>>
>>>>>> Thanks for your help
>>>>>> Philipp
>>>>>
>>>>>
>>>
>>>
>
>
Re: [Teneo] Problems with Teneo Gmf Mindmap Tutorial [message #467967 is a reply to message #467890] Mon, 03 August 2009 13:33 Go to previous message
Eclipse UserFriend
Originally posted by: kretschmer.e-mundo.de

Hi Martin,

I solved this problem.

I added all libraries to 'Bundle-ClassPath' in the 'manifest.mf' and all
packages to the 'Export-Package' entry. When I now start the 'Mindmap DB
Editor' the old error is gone and the 'Tutorial1.java' runs :)

Thanks again for your help!

greetings
Philipp

Philipp Kretschmer schrieb:
> Hi Martin,
>
> thanks for your help. Would it help if I send you the plugins perhaps
> you can say more than?
>
> greetings
> Philipp
>
> Martin Taal schrieb:
>> Hi Philipp,
>> Okay, I am afraid that it is difficult for me to help on this, so it
>> is best that you try different things to get the tutorial1.java to
>> compile in the test work space...
>>
>> gr. Martin
>>
>> Philipp Kretschmer wrote:
>>> Hi Martin,
>>>
>>> I paste my comments inline
>>>
>>> Martin Taal schrieb:
>>>> Hi Philipp,
>>>> Hmm, to be honest I do not really understand why this fails... I
>>>> assume that you run the Tutorial1 as a java program/junit testcase
>>>> and not as a plugin (that's why the Tutorial1 passes).
>>>
>>> Yes, I run it as java program.
>>>>
>>>> Can you check if you have -clean in the arguments tab of the run
>>>> configuration? (a bit of a wild guess that this makes a difference...)
>>>
>>> I added the -clean option but it did not help.
>>>>
>>>> I assume that all the plugins are loaded correctly in the test
>>>> eclipse application (otherwise you would have gotten other errors)
>>>
>>> Under the installed plugins tab in the test eclipse application the
>>> Hibernate_Libraries Plugin is there.
>>>>
>>>> Another thing you can try is to create a new plugin project in the
>>>> test eclipse application. Then let it depend on the hibernate plugin
>>>> and add the tutorial1.java there and see if it runs there.
>>>
>>> When I try this the org.hibernate cannot be resolved in tutorial1.java.
>>>
>>>
>>> greetings
>>> Philipp
>>>
>>>>
>>>> gr. Martin
>>>>
>>>> Philipp Kretschmer wrote:
>>>>> Hi Martin,
>>>>>
>>>>> thanks for the fast reply.
>>>>> Yes I set the reexport dependency on Hibernate_Libraries. It is a
>>>>> Java Plugin where I added the hibernate3.jar and its required jar
>>>>> archives to the root directory. Then I added all of them to the
>>>>> buildpath of the Hibernate_Libraries plugin.
>>>>>
>>>>> If it helps, here is what I tried. I modified and run the
>>>>> Tutorial1.java
>>>>> (http://www.elver.org/hibernate/tutorialone/tutorial1_2.html)
>>>>> inside the org.eclipse.gmf.examples.mindmap.diagram plugin and it
>>>>> worked. It uses the hibernate session class, so it should be
>>>>> available in the diagram plugin I think.
>>>>>
>>>>> Here the summary for the manifest.mf files:
>>>>>
>>>>> in the Hibernate_Libraries:
>>>>>
>>>>> Manifest-Version: 1.0
>>>>> Bundle-ManifestVersion: 2
>>>>> Bundle-Name: Hibernate_Libraries
>>>>> Bundle-SymbolicName: Hibernate_Libraries
>>>>> Bundle-Version: 1.0.0.qualifier
>>>>> Eclipse-BuddyPolicy: dependent
>>>>> Require-Bundle:
>>>>> org.apache.commons.logging;bundle-version="1.0.4";visibility:=reexport
>>>>> Export-Package: org.hibernate;
>>>>> uses:="javax.naming,
>>>>> org.hibernate.engine,
>>>>> org.hibernate.jdbc,
>>>>> org.hibernate.transform,
>>>>> org.hibernate.type,
>>>>> org.hibernate.exception,
>>>>> org.hibernate.classic,
>>>>> org.hibernate.metadata,
>>>>> org.hibernate.criterion,
>>>>> javax.transaction,
>>>>> org.hibernate.stat"
>>>>>
>>>>> in org.eclipse.gmf.examples.mindmap:
>>>>>
>>>>> Manifest-Version: 1.0
>>>>> Bundle-ManifestVersion: 2
>>>>> Bundle-Name: %pluginName
>>>>> Bundle-SymbolicName: org.eclipse.gmf.examples.mindmap; singleton:=true
>>>>> Bundle-Version: 1.0.0
>>>>> Bundle-ClassPath: .
>>>>> Bundle-Vendor: %providerName
>>>>> Bundle-Localization: plugin
>>>>> Bundle-RequiredExecutionEnvironment: J2SE-1.5
>>>>> Export-Package: org.eclipse.gmf.examples.mindmap,
>>>>> org.eclipse.gmf.examples.mindmap.impl,
>>>>> org.eclipse.gmf.examples.mindmap.util
>>>>> Require-Bundle: org.eclipse.core.runtime,
>>>>> org.eclipse.emf.ecore;visibility:=reexport,
>>>>> org.eclipse.emf.ecore.xmi;visibility:=reexport,
>>>>> Hibernate_Libraries;bundle-version="1.0.0";visibility:=reexport,
>>>>>
>>>>> org.eclipse.emf.teneo.hibernate;bundle-version="1.1.0";visibility:=reexport
>>>>>
>>>>> Eclipse-LazyStart: true
>>>>>
>>>>> in org.eclipse.gmf.examples.mindmap.diagram:
>>>>>
>>>>> Manifest-Version: 1.0
>>>>> Bundle-ManifestVersion: 2
>>>>> Bundle-Name: %pluginName
>>>>> Bundle-SymbolicName: org.eclipse.gmf.examples.mindmap.diagram;
>>>>> singleton:=true
>>>>> Bundle-Version: 1.0.0.qualifier
>>>>> Bundle-ClassPath: .
>>>>> Bundle-Activator:
>>>>> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin
>>>>>
>>>>> Bundle-Vendor: %providerName
>>>>> Bundle-Localization: plugin
>>>>> Export-Package: org.eclipse.gmf.examples.mindmap.diagram.edit.parts,
>>>>> org.eclipse.gmf.examples.mindmap.diagram.part,
>>>>> org.eclipse.gmf.examples.mindmap.diagram.providers
>>>>> Require-Bundle: org.eclipse.core.runtime,
>>>>> org.eclipse.core.resources,
>>>>> org.eclipse.core.expressions,
>>>>> org.eclipse.jface,
>>>>> org.eclipse.ui.ide,
>>>>> org.eclipse.ui.views,
>>>>> org.eclipse.ui.navigator,
>>>>> org.eclipse.ui.navigator.resources,
>>>>> org.eclipse.emf.ecore,
>>>>> org.eclipse.emf.ecore.xmi,
>>>>> org.eclipse.emf.edit.ui,
>>>>> org.eclipse.gmf.runtime.emf.core,
>>>>> org.eclipse.gmf.runtime.emf.commands.core,
>>>>> org.eclipse.gmf.runtime.emf.ui.properties,
>>>>> org.eclipse.gmf.runtime.diagram.ui,
>>>>> org.eclipse.gmf.runtime.diagram.ui.properties,
>>>>> org.eclipse.gmf.runtime.diagram.ui.providers,
>>>>> org.eclipse.gmf.runtime.diagram.ui.providers.ide,
>>>>> org.eclipse.gmf.runtime.diagram.ui.render,
>>>>> org.eclipse.gmf.runtime.diagram.ui.resources.editor,
>>>>> org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide,
>>>>> org.eclipse.gmf.examples.mindmap;visibility:=reexport,
>>>>> org.eclipse.gmf.examples.mindmap.edit;visibility:=reexport,
>>>>> org.eclipse.ocl.ecore;visibility:=reexport,
>>>>> org.eclipse.emf.validation;visibility:=reexport,
>>>>> org.eclipse.gmf.runtime.draw2d.ui;visibility:=reexport,
>>>>> org.eclipse.gef;visibility:=reexport
>>>>> Eclipse-LazyStart: true
>>>>>
>>>>> Do you need any further information?
>>>>>
>>>>> greetings
>>>>> Philipp
>>>>>
>>>>> Martin Taal schrieb:
>>>>>> Hi Philipp,
>>>>>> A class path issue, did you set the reexport dependency on the
>>>>>> hibernate libraries plugin when setting it as a dependency of the
>>>>>> model package?
>>>>>> If this does not help can you give a summary of your plugin and
>>>>>> dependency structure as defined in the manifest.mf?
>>>>>>
>>>>>> gr. Martin
>>>>>>
>>>>>> Philipp Kretschmer wrote:
>>>>>>> Hi experts,
>>>>>>>
>>>>>>> I have a problem when I try to run the Teneo Tutorial with the
>>>>>>> Gmf Editor
>>>>>>> (http://www.elver.org/hibernate/gmftutorial/tutorial1.html).
>>>>>>>
>>>>>>> I get two Exceptions when I try to open the the "DB Editor" via
>>>>>>> the menubar.
>>>>>>>
>>>>>>> Here the Exceptions:
>>>>>>>
>>>>>>> !ENTRY org.eclipse.osgi 4 0 2009-07-31 09:43:54.718
>>>>>>> !MESSAGE An error occurred while automatically activating bundle
>>>>>>> org.eclipse.gmf.examples.mindmap.diagram (841).
>>>>>>> !STACK 0
>>>>>>> org.osgi.framework.BundleException: Exception in
>>>>>>> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start()
>>>>>>> of bundle org.eclipse.gmf.examples.mindmap.diagram.
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:805)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:754)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:352)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:280)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:408)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:449)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:211)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:376)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:452)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>>>>>>
>>>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund leLoader.java:321)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:231)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1193)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:874)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:267)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:263)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.PluginAction.createDelegate(PluginAc tion.java:122)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:223)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:584)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:501)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
>>>>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
>>>>>>> at
>>>>>>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880)
>>>>>>> at
>>>>>>> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
>>>>>>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
>>>>>>> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
>>>>>>> at
>>>>>>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>>>>>>>
>>>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>> at
>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>>>>>>>
>>>>>>> at
>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>>>>>>>
>>>>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>>>>> at
>>>>>>> org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
>>>>>>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
>>>>>>> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
>>>>>>> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
>>>>>>> Caused by: java.lang.NoClassDefFoundError: org/hibernate/Session
>>>>>>> at
>>>>>>> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start(MindmapDiagramEditorPlugin.java:81)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1 .run(BundleContextImpl.java:782)
>>>>>>>
>>>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:773)
>>>>>>>
>>>>>>> ... 54 more
>>>>>>> Caused by: java.lang.ClassNotFoundException: org.hibernate.Session
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:489)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>>>>>>
>>>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>>>>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
>>>>>>> ... 58 more
>>>>>>> Root exception:
>>>>>>> java.lang.NoClassDefFoundError: org/hibernate/Session
>>>>>>> at
>>>>>>> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start(MindmapDiagramEditorPlugin.java:81)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1 .run(BundleContextImpl.java:782)
>>>>>>>
>>>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:773)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:754)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:352)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:280)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:408)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:449)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:211)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:376)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:452)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>>>>>>
>>>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund leLoader.java:321)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:231)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1193)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:874)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:267)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:263)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.PluginAction.createDelegate(PluginAc tion.java:122)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:223)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:584)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:501)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
>>>>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
>>>>>>> at
>>>>>>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880)
>>>>>>> at
>>>>>>> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
>>>>>>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
>>>>>>> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
>>>>>>> at
>>>>>>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>>>>>>>
>>>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>> at
>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>>>>>>>
>>>>>>> at
>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>>>>>>>
>>>>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>>>>> at
>>>>>>> org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
>>>>>>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
>>>>>>> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
>>>>>>> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
>>>>>>> Caused by: java.lang.ClassNotFoundException: org.hibernate.Session
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:489)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>>>>>>
>>>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>>>>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
>>>>>>> ... 58 more
>>>>>>>
>>>>>>> !ENTRY org.eclipse.ui 4 4 2009-07-31 09:43:54.718
>>>>>>> !MESSAGE Could not create action delegate for id:
>>>>>>> mindmap.teneo.gmf.action0
>>>>>>>
>>>>>>> !ENTRY org.eclipse.equinox.registry 4 1 2009-07-31 09:43:54.718
>>>>>>> !MESSAGE Plug-in org.eclipse.gmf.examples.mindmap.diagram was
>>>>>>> unable to load class
>>>>>>> org.eclipse.gmf.examples.mindmap.diagram.db.OpenMindmapDBEdi tor.
>>>>>>> !STACK 0
>>>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter $TerminatingClassNotFoundException:
>>>>>>> An error occurred while automatically activating bundle
>>>>>>> org.eclipse.gmf.examples.mindmap.diagram (841).
>>>>>>> at
>>>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:125)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:449)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:211)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:376)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:452)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>>>>>>
>>>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund leLoader.java:321)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:231)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1193)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:874)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:267)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:263)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.PluginAction.createDelegate(PluginAc tion.java:122)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:223)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:584)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:501)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
>>>>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
>>>>>>> at
>>>>>>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880)
>>>>>>> at
>>>>>>> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
>>>>>>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
>>>>>>> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
>>>>>>> at
>>>>>>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>>>>>>> at
>>>>>>> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>>>>>>>
>>>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>> at
>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>>>>>>>
>>>>>>> at
>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>>>>>>>
>>>>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>>>>> at
>>>>>>> org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
>>>>>>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
>>>>>>> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
>>>>>>> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
>>>>>>> Caused by: org.osgi.framework.BundleException: Exception in
>>>>>>> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start()
>>>>>>> of bundle org.eclipse.gmf.examples.mindmap.diagram.
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:805)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:754)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:352)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:280)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:408)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>>>>>>>
>>>>>>> ... 49 more
>>>>>>> Caused by: java.lang.NoClassDefFoundError: org/hibernate/Session
>>>>>>> at
>>>>>>> org.eclipse.gmf.examples.mindmap.diagram.part.MindmapDiagram EditorPlugin.start(MindmapDiagramEditorPlugin.java:81)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1 .run(BundleContextImpl.java:782)
>>>>>>>
>>>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>>>> at
>>>>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:773)
>>>>>>>
>>>>>>> ... 54 more
>>>>>>> Caused by: java.lang.ClassNotFoundException: org.hibernate.Session
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:489)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
>>>>>>>
>>>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>>>>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
>>>>>>> ... 58 more
>>>>>>>
>>>>>>>
>>>>>>> I made a Hibernate_Libraries Plugin and set the
>>>>>>> Eclipse-BuddyPolicy: dependent and added a dependency with
>>>>>>> reexport on it in the model plugin as described in the tutorial.
>>>>>>>
>>>>>>> My question:
>>>>>>> Can you give me an advice which configuration I have to adapt to
>>>>>>> solve this problem, cause i found nothing in the newsgroup
>>>>>>> solving my problem?
>>>>>>>
>>>>>>> Thanks for your help
>>>>>>> Philipp
>>>>>>
>>>>>>
>>>>
>>>>
>>
>>
Previous Topic:[CDO] TimeoutException on session refresh
Next Topic:Cancellation of XMI load/save
Goto Forum:
  


Current Time: Fri Dec 13 23:16:39 GMT 2019

Powered by FUDForum. Page generated in 0.03018 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top