facebook

[Closed] Eclipse 3.2 and ME 5.0.1GA_E3.2 Hibernate Ability

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #259293 Reply

    piratepete
    Member

    Hi:

    I’m using a Dell Latitude D600 with an install of Ubuntu (Debian linux). I downloaded Eclipse and MyEclipse without using their package management and did the installs using tar and gzip. I unzipped the binary for Eclipse and it runs, I then set the Sun JDK 1.5 in the JRE and 5.0 compliance for all. I unzip MyEclipse in a directory and install as a product extension. MyEclipse restarts twice and then I see the MyEclipse icons and menus. I then create a test web project, and try “Add Hibernate Capabilities” and it does nothing. No dialog box. Also, a right mouse on the project/myeclipse/add hibernate capabilities does the same, nothing. I tried Spring and it doesn’t work either. But, Struts comes up with a dialog.

    I can perform any tests if you can help. I have a professional license for my Windows box at work and I’m using the same setup, except it’s XP. We have a Xdoclet hack to get lazy=true to be a default for Hibernate, but that’s it as far as customization. I don’t understand why this doesn’t work on linux.

    Any help appreciated. Thanks,

    Piratepete aka David L. Whitehurst (dlwhitehurst@gmail.com)

    #259305 Reply

    Haris Peco
    Member

    David,

    Please, send us log errors (Windows-Show view-Other-PDE runtime-Log error view)

    Thanks
    Peco

    #259306 Reply

    piratepete
    Member

    Peco:

    Here’s what I have:

    java.util.MissingResourceException: Can’t find resource for bundle com.ibm.icu.impl.ICUResourceBundleImpl$ResourceTable, key 2
    at com.ibm.icu.impl.ICUResourceBundle.getWithFallback(ICUResourceBundle.java:655)
    at com.ibm.icu.impl.CalendarData.get(CalendarData.java:51)
    at com.ibm.icu.impl.CalendarData.getEras(CalendarData.java:117)
    at com.ibm.icu.text.DateFormatSymbols.initializeData(DateFormatSymbols.java:805)
    at com.ibm.icu.text.DateFormatSymbols.initializeData(DateFormatSymbols.java:790)
    at com.ibm.icu.text.DateFormatSymbols.<init>(DateFormatSymbols.java:174)
    at com.ibm.icu.text.SimpleDateFormat.<init>(SimpleDateFormat.java:334)
    at com.ibm.icu.text.SimpleDateFormat.<init>(SimpleDateFormat.java:311)
    at org.eclipse.pde.internal.runtime.logview.LogEntry.processEntry(LogEntry.java:182)
    at org.eclipse.pde.internal.runtime.logview.LogReader.parseLogFile(LogReader.java:112)
    at org.eclipse.pde.internal.runtime.logview.LogView.readLogFile(LogView.java:637)
    at org.eclipse.pde.internal.runtime.logview.LogView.createPartControl(LogView.java:165)
    at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:334)
    at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:197)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
    at org.eclipse.ui.internal.Perspective.showView(Perspective.java:1675)
    at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:987)
    at org.eclipse.ui.internal.WorkbenchPage.access$13(WorkbenchPage.java:968)
    at org.eclipse.ui.internal.WorkbenchPage$13.run(WorkbenchPage.java:3497)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
    at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3503)
    at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3470)
    at org.eclipse.ui.handlers.ShowViewHandler.openView(ShowViewHandler.java:148)
    at org.eclipse.ui.handlers.ShowViewHandler.openOther(ShowViewHandler.java:104)
    at org.eclipse.ui.handlers.ShowViewHandler.execute(ShowViewHandler.java:70)
    at org.eclipse.ui.internal.ShowViewMenu$3.run(ShowViewMenu.java:114)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:500)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:541)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:404)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:62)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1087)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3150)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2840)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
    at java.lang.reflect.Method.invoke(libgcj.so.7)
    at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:281)
    at org.eclipse.core.launcher.Main.run(Main.java:978)
    at org.eclipse.core.launcher.Main.main(Main.java:952)

    #259307 Reply

    piratepete
    Member

    Peco:

    I’m sorry. This is probably what you want: eclipse.buildId=M20060629-1905

    java.lang.NoClassDefFoundError: com.genuitec.eclipse.springhibernate.wizard.NewSpringDatasourceWizardPage
    at java.lang.Class.initializeClass(libgcj.so.7)
    at com.genuitec.eclipse.hibernate.wizards.NewHibernateSupportCreationWizard.addPages(NewHibernateSupportCreationWizard.java:326)
    at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:500)
    at org.eclipse.jface.window.Window.create(Window.java:426)
    at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1125)
    at org.eclipse.jface.window.Window.open(Window.java:789)
    at com.genuitec.eclipse.hibernate.action.AddHibernateCapabilitiesActionDelegate.basicRun(AddHibernateCapabilitiesActionDelegate.java:70)
    at com.genuitec.eclipse.hibernate.action.AddHibernateCapabilitiesActionDelegate.run(AddHibernateCapabilitiesActionDelegate.java:52)
    at com.genuitec.eclipse.core.ui.action.LicenseValidatingActionDelegate.runWithEvent(Unknown Source)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:245)
    at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:230)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:541)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:404)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:62)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1087)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3150)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2840)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
    at java.lang.reflect.Method.invoke(libgcj.so.7)
    at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:281)
    at org.eclipse.core.launcher.Main.run(Main.java:978)
    at org.eclipse.core.launcher.Main.main(Main.java:952)
    Caused by: java.lang.ClassNotFoundException: com.genuitec.eclipse.sqlexplorer.core.SQLExplorerPlugin
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:407)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:352)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
    at java.lang.ClassLoader.loadClass(libgcj.so.7)
    at java.lang.Class.forName(libgcj.so.7)
    at java.lang.Class.initializeClass(libgcj.so.7)
    …32 more

    #259308 Reply

    Haris Peco
    Member

    David,

    This is not related with MyEclipse; log is complete form eclipse code
    You have probably bad installation – check if you have completed file (file size for eclipse and myeclipse) and try
    reinstall from scratch

    Best
    Peco

    #259309 Reply

    Haris Peco
    Member

    David,

    I have seen your second post and you use GNU java from ubuntu instead of sun jdk

    Try set JAVA_HOME to your sun jdk directory and add JAVA_HOME/bin to your path

    example :

    export JAVA_HOME=<your_sun_jdk_dir>
    export PATH=${JAVA_HOME}/bin:$PATH
    eclipse <eclipse_options>

    Best
    Peco

    #259310 Reply

    piratepete
    Member

    Thanks, I’m sure that’s it.

    #259741 Reply

    Riyad Kalla
    Member

    Glad it’s working.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: [Closed] Eclipse 3.2 and ME 5.0.1GA_E3.2 Hibernate Ability

You must be logged in to post in the forum log in