- This topic has 5 replies, 2 voices, and was last updated 19 years, 4 months ago by jrfurman.
-
AuthorPosts
-
jrfurmanMemberEclipse SDK
Version: 3.1.0
Build id: I20050627-1435MyEclipse JSF Support
Version: 3.9.210
Build id: 20050627-4.0-Milestone-2Plus I installed the hibernate 3 plugin for eclipse.
Any ideas?
Thanks,
JR
!ENTRY com.genuitec.eclipse.hibernate 4 4 2005-08-09 21:35:20.359
!MESSAGE Error – unable to loadhibernate project metadatanull
!STACK 0
java.lang.NoClassDefFoundError
at com.genuitec.eclipse.hibernate.core.HibernateProject.basicLoadProperties(HibernateProject.java:366)
at com.genuitec.eclipse.hibernate.core.HibernateProject.loadPropertiesIfNeeded(HibernateProject.java:350)
at com.genuitec.eclipse.hibernate.core.HibernateProject.getBasePersistenceClass(HibernateProject.java:266)
at com.genuitec.eclipse.hibernate.wizards.NewHibernateNewMappingWizardPage.typePageChangeControlPressed(NewHibernateNewMappingWizardPage.java:246)
at com.genuitec.eclipse.hibernate.wizards.TypeFieldsAdapter.changeControlPressed(TypeFieldsAdapter.java:22)
at org.eclipse.jdt.internal.ui.wizards.dialogfields.StringButtonDialogField.changeControlPressed(StringButtonDialogField.java:56)
at org.eclipse.jdt.internal.ui.wizards.dialogfields.StringButtonDialogField$1.widgetSelected(StringButtonDialogField.java:113)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:809)
at org.eclipse.jface.window.Window.open(Window.java:787)
at com.genuitec.eclipse.hibernate.action.NewHibernateMappingAction.run(NewHibernateMappingAction.java:40)
at com.genuitec.eclipse.hibernate.action.NewHibernateMappingAction.run(NewHibernateMappingAction.java:47)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:246)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
Scott AndersonParticipantAre you trying to use our hibernate tools in a project that you didn’t select “Add Hibernate Capabilities…” for?
Plus I installed the hibernate 3 plugin for eclipse.
Specifically, what plugin is this?
jrfurmanMemberI added them. I’m trying to generate a *.hbm.xml file from a MySQL schema
jrfurmanMemberI can browser to the table and select the ‘Create Hibernate Mapping’ but nothing happens.
hibernate-tools-3.0.0.alpha4.zip I added this plugin into the eclipse plugin directory. I just created a new work space to see if that would help….and it doesn’t.
Let me knwo if you need anything else.
Thanks,
JR
jrfurmanMemberI’m unable to generate hibernate mapping.
And I did add hibernate to the project. 😯
Eclipse SDK
Version: 3.1.0
Build id: I20050627-1435MyEclipse 4.0 Milestone 2
Build Id:20050627-4.0-Milestone-2
!ENTRY com.genuitec.eclipse.hibernate 4 4 2005-08-16 11:38:06.109
!MESSAGE Error – unable to loadhibernate project metadatanull
!STACK 0
java.lang.NoClassDefFoundError
at com.genuitec.eclipse.hibernate.core.HibernateProject.basicLoadProperties(HibernateProject.java:366)
at com.genuitec.eclipse.hibernate.core.HibernateProject.loadPropertiesIfNeeded(HibernateProject.java:350)
at com.genuitec.eclipse.hibernate.core.HibernateProject.getBasePersistenceClass(HibernateProject.java:266)
at com.genuitec.eclipse.hibernate.wizards.NewHibernateNewMappingWizardPage.typePageChangeControlPressed(NewHibernateNewMappingWizardPage.java:246)
at com.genuitec.eclipse.hibernate.wizards.TypeFieldsAdapter.changeControlPressed(TypeFieldsAdapter.java:22)
at org.eclipse.jdt.internal.ui.wizards.dialogfields.StringButtonDialogField.changeControlPressed(StringButtonDialogField.java:56)
at org.eclipse.jdt.internal.ui.wizards.dialogfields.StringButtonDialogField$1.widgetSelected(StringButtonDialogField.java:113)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:809)
at org.eclipse.jface.window.Window.open(Window.java:787)
at com.genuitec.eclipse.hibernate.action.NewHibernateMappingAction.run(NewHibernateMappingAction.java:40)
at com.genuitec.eclipse.hibernate.action.NewHibernateMappingAction.run(NewHibernateMappingAction.java:47)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:246)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
jrfurmanMemberI’m unable to generate hibernate mapping.
And I did add hibernate to the project. 😯
Eclipse SDK
Version: 3.1.0
Build id: I20050627-1435MyEclipse 4.0 Milestone 2
Build Id:20050627-4.0-Milestone-2
!ENTRY com.genuitec.eclipse.hibernate 4 4 2005-08-16 11:38:06.109
!MESSAGE Error – unable to loadhibernate project metadatanull
!STACK 0
java.lang.NoClassDefFoundError
at com.genuitec.eclipse.hibernate.core.HibernateProject.basicLoadProperties(HibernateProject.java:366)
at com.genuitec.eclipse.hibernate.core.HibernateProject.loadPropertiesIfNeeded(HibernateProject.java:350)
at com.genuitec.eclipse.hibernate.core.HibernateProject.getBasePersistenceClass(HibernateProject.java:266)
at com.genuitec.eclipse.hibernate.wizards.NewHibernateNewMappingWizardPage.typePageChangeControlPressed(NewHibernateNewMappingWizardPage.java:246)
at com.genuitec.eclipse.hibernate.wizards.TypeFieldsAdapter.changeControlPressed(TypeFieldsAdapter.java:22)
at org.eclipse.jdt.internal.ui.wizards.dialogfields.StringButtonDialogField.changeControlPressed(StringButtonDialogField.java:56)
at org.eclipse.jdt.internal.ui.wizards.dialogfields.StringButtonDialogField$1.widgetSelected(StringButtonDialogField.java:113)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:809)
at org.eclipse.jface.window.Window.open(Window.java:787)
at com.genuitec.eclipse.hibernate.action.NewHibernateMappingAction.run(NewHibernateMappingAction.java:40)
at com.genuitec.eclipse.hibernate.action.NewHibernateMappingAction.run(NewHibernateMappingAction.java:47)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:246)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948) -
AuthorPosts