-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 18 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Hibernate Tools broken in Eclipse 3.4 (Ganymede)?
PostPosted: Fri Jun 27, 2008 7:06 pm 
Newbie

Joined: Tue Oct 09, 2007 11:53 pm
Posts: 5
I tried to open the Hibernate Perspective after installing Eclipse Tools by unzipping in my eclipse folder, and I got the following exception:

Code:
java.lang.NoClassDefFoundError: org/eclipse/ui/internal/util/SWTResourceUtil
   at org.hibernate.eclipse.console.workbench.xpl.AnyAdaptableLabelProvider.getImage(AnyAdaptableLabelProvider.java:166)
   at org.eclipse.jface.viewers.WrappedViewerLabelProvider.getImage(WrappedViewerLabelProvider.java:117)
   at org.eclipse.jface.viewers.WrappedViewerLabelProvider.update(WrappedViewerLabelProvider.java:165)
   at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:145)
   at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:932)
   at org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:102)
   at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
   at org.eclipse.core.runtime.Platform.run(Platform.java:880)
   at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
   at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
   at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:1012)
   at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:466)
   at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
   at org.eclipse.core.runtime.Platform.run(Platform.java:880)
   at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
   at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
   at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:2041)
   at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:827)
   at org.eclipse.jface.viewers.AbstractTreeViewer.createAddedElements(AbstractTreeViewer.java:340)
   at org.eclipse.jface.viewers.AbstractTreeViewer.internalAdd(AbstractTreeViewer.java:270)
   at org.eclipse.jface.viewers.TreeViewer.internalAdd(TreeViewer.java:652)
   at org.hibernate.eclipse.console.viewers.xpl.MTreeViewer.add(MTreeViewer.java:106)
   at org.eclipse.ui.progress.DeferredTreeContentManager$3.runInUIThread(DeferredTreeContentManager.java:353)
   at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:94)
   at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
   at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
   at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
   at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
   at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
   at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
   at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
   at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
   at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
   at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
   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(EclipseStarter.java:382)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
   at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
   at org.eclipse.equinox.launcher.Main.run(Main.java:1236)


Session Data:
Code:
eclipse.buildId=I20080617-2000
java.version=1.6.0
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86 -clean

From the name of the package the class is in, I suspect someone was using an internal class that is no longer available in Ganymede.

Any ideas when a Ganymede version will be available?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 30, 2008 3:37 am 
Newbie

Joined: Fri Jun 13, 2008 10:17 am
Posts: 18
The same thing for me, the perspective works buts a lot of java.lang.NoClassDefFoundError: org/eclipse/ui/internal/util/SWTResourceUtil problems.

Same problem when refreshing in the reveng file editor. (eclipse 3.4)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 01, 2008 5:28 am 
Newbie

Joined: Tue Jul 01, 2008 5:24 am
Posts: 3
Same here!

I really need to switch to Ganymede, does anyone know when Hibernate Tools will be compatible with Ganymede?

Thanks,


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 12, 2008 7:29 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
The nightly builds for Jboss Tools contain a version of hibernate tools that has the proper patching for making it run on Ganymede.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: No signs of life for Hibernate Tools in Ganymede
PostPosted: Mon Jul 14, 2008 8:01 pm 
Newbie

Joined: Mon Jul 14, 2008 7:50 pm
Posts: 1
I've read the comments on the problems with Hibernate Tools in Ganymede. I copied the plugins and features for the 3.2.2 version. Then, following the forum discussion I read, I downloaded the latest build of Hibernate Tools from the JBoss nightly build and copied over the plugins and features from there. I see no sign that Hibernate Tools are installed at all when I bring up my version of Eclipse Ganymede (3.4). No errors or anything. No sign of a Hibernate Tools perspective, wizards. Nada. Seems to work fine on my other computer running Eclipse 3.3. Any suggestions?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 15, 2008 8:07 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
start eclipse with -debug -clean and tell me what the error logs says

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 15, 2008 10:15 am 
Newbie

Joined: Thu Nov 23, 2006 7:17 am
Posts: 2
i have the same problem, i am trying to use the linking technique described http://wiki.jboss.org/wiki/InstallingJBossToolsNightlyBuilds, and i also have no signs of hibernate-tools whatsoever, the error log after -clean -debug is the following:

Start VM: -Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
-XX:MaxPermSize=256M
-Djava.class.path=C:\Applications\eclipse\plugins\org.eclipse.equinox.launcher_1
.0.100.v20080509-1800.jar
-os win32
-ws win32
-arch x86
-showsplash C:\Applications\eclipse\\plugins\org.eclipse.platform_3.3.100.v20080
6172000\splash.bmp
-launcher C:\Applications\eclipse\eclipse.exe
-name Eclipse
--launcher.library C:\Applications\eclipse\plugins\org.eclipse.equinox.launcher.
win32.win32.x86_1.0.100.v20080509-1800\eclipse_1114.dll
-startup C:\Applications\eclipse\plugins\org.eclipse.equinox.launcher_1.0.100.v2
0080509-1800.jar
-framework plugins\org.eclipse.osgi_3.4.0.v20080605-1900.jar
-clean
-debug
-vm C:\Program Files\Java\jre1.6.0_06\bin\client\jvm.dll
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
-XX:MaxPermSize=256M
-Djava.class.path=C:\Applications\eclipse\plugins\org.eclipse.equinox.launcher_1
.0.100.v20080509-1800.jar
Install location:
file:/c:/Applications/eclipse/
Configuration file:
file:/c:/Applications/eclipse/configuration/config.ini loaded
Configuration location:
file:/c:/Applications/eclipse/configuration/
Framework located:
file:/c:/Applications/eclipse/plugins/org.eclipse.osgi_3.4.0.v20080605-1900.
jar
Framework classpath:
file:/c:/Applications/eclipse/plugins/org.eclipse.osgi_3.4.0.v20080605-1900.
jar
Splash location:
C:\Applications\eclipse\\plugins\org.eclipse.platform_3.3.100.v200806172000\
splash.bmp
Debug options:
file:/C:/Applications/eclipse/.options not found
Time to load bundles: 45
Starting application: 9319
Application Started: 25885


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 21, 2008 1:13 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
ok, please report in jboss tools jira with explict listing of what url you are downloading from and ill look into it asap.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 21, 2008 1:18 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
sorry, I misread.

I still would like to get the log! without it I cant pinpoint what error you are bumping into.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 23, 2008 6:45 pm 
Newbie

Joined: Wed Jul 23, 2008 6:39 pm
Posts: 3
max wrote:
sorry, I misread.

I still would like to get the log! without it I cant pinpoint what error you are bumping into.


Here's what mine says:

!ENTRY org.eclipse.equinox.p2.director 2 0 2008-07-23 17:15:46.600
!MESSAGE Problems resolving provisioning plan.
!SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-07-23 17:15:46.600
!MESSAGE Unable to satisfy dependency from org.hibernate.eclipse.jdt.ui 3.2.2.Beta1 to requiredCapability: osgi.bundle/org.eclipse.gef/0.0.0.
!SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-07-23 17:15:46.600
!MESSAGE Unable to satisfy dependency from org.hibernate.eclipse.feature.feature.group 3.2.2.Beta1 to requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.gef/3.2.0.
!SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-07-23 17:15:46.600
!MESSAGE Unable to satisfy dependency from org.hibernate.eclipse.feature.feature.group 3.2.2.Beta1 to requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.wst.common.project.facet.core/1.1.0.
!SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-07-23 17:15:46.600
!MESSAGE Unable to satisfy dependency from org.hibernate.eclipse.feature.feature.group 3.2.2.Beta1 to requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.wst.common.project.facet.ui/1.1.0.
!SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-07-23 17:15:46.600
!MESSAGE Unable to satisfy dependency from org.hibernate.eclipse.feature.feature.group 3.2.2.Beta1 to requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.wst.xml.core/1.1.0.
!SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-07-23 17:15:46.600
!MESSAGE Unable to satisfy dependency from org.hibernate.eclipse.feature.feature.group 3.2.2.Beta1 to requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.wst.sse.core/1.1.0.
!SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-07-23 17:15:46.600
!MESSAGE Unable to satisfy dependency from org.hibernate.eclipse.feature.feature.group 3.2.2.Beta1 to requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.wst.xml.ui/1.0.100.
!SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-07-23 17:15:46.600
!MESSAGE Unable to satisfy dependency from org.hibernate.eclipse.feature.feature.group 3.2.2.Beta1 to requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.wst.sse.ui/1.0.101.
!SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-07-23 17:15:46.600
!MESSAGE Unable to satisfy dependency from org.hibernate.eclipse.feature.feature.group 3.2.2.Beta1 to requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.wst.dtd.core/1.1.0.
!SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-07-23 17:15:46.600
!MESSAGE Unable to satisfy dependency from org.hibernate.eclipse.feature.feature.group 3.2.2.Beta1 to requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.wst.common.ui/1.1.0.
!SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-07-23 17:15:46.600
!MESSAGE Unable to satisfy dependency from org.jboss.tools.hibernate.ui.veditor 3.2.2.Beta1 to requiredCapability: osgi.bundle/org.eclipse.gef/0.0.0.
!SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-07-23 17:15:46.600
!MESSAGE Unable to satisfy dependency from org.hibernate.eclipse.mapper 3.2.2.Beta1 to requiredCapability: osgi.bundle/org.eclipse.wst.xml.core/0.0.0.
!SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-07-23 17:15:46.600
!MESSAGE Unable to satisfy dependency from org.hibernate.eclipse.mapper 3.2.2.Beta1 to requiredCapability: osgi.bundle/org.eclipse.wst.sse.core/0.0.0.
!SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-07-23 17:15:46.600
!MESSAGE Unable to satisfy dependency from org.hibernate.eclipse.mapper 3.2.2.Beta1 to requiredCapability: osgi.bundle/org.eclipse.wst.xml.ui/0.0.0.
!SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-07-23 17:15:46.600
!MESSAGE Unable to satisfy dependency from org.hibernate.eclipse.mapper 3.2.2.Beta1 to requiredCapability: osgi.bundle/org.eclipse.wst.sse.ui/0.0.0.
!SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-07-23 17:15:46.600
!MESSAGE Unable to satisfy dependency from org.hibernate.eclipse.mapper 3.2.2.Beta1 to requiredCapability: osgi.bundle/org.eclipse.wst.dtd.core/0.0.0.
!SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-07-23 17:15:46.600
!MESSAGE Unable to satisfy dependency from org.hibernate.eclipse.mapper 3.2.2.Beta1 to requiredCapability: osgi.bundle/org.eclipse.wst.common.ui/0.0.0.
!SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-07-23 17:15:46.600
!MESSAGE Unable to satisfy dependency from org.hibernate.eclipse.console 3.2.2.Beta1 to requiredCapability: osgi.bundle/org.eclipse.gef/0.0.0.
!SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-07-23 17:15:46.600
!MESSAGE Unable to satisfy dependency from org.hibernate.eclipse.console 3.2.2.Beta1 to requiredCapability: osgi.bundle/org.eclipse.wst.common.project.facet.core/0.0.0.
!SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-07-23 17:15:46.600
!MESSAGE Unable to satisfy dependency from org.hibernate.eclipse.console 3.2.2.Beta1 to requiredCapability: osgi.bundle/org.eclipse.wst.common.project.facet.ui/0.0.0.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 24, 2008 1:02 pm 
Regular
Regular

Joined: Thu Sep 22, 2005 1:53 pm
Posts: 88
Location: Rio de Janeiro
I just installed the latestt nightly build
and it seems to be working. I can create configuration
and execute hql and criterias

_________________
Don´t forget to rate!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 24, 2008 2:08 pm 
Newbie

Joined: Wed Jul 23, 2008 6:39 pm
Posts: 3
jbosseur wrote:
I just installed the latestt nightly build
and it seems to be working. I can create configuration
and execute hql and criterias


Indeed it does work with the nightly build (downloaded from http://download.jboss.org/jbosside/builds/nightly/). It seems that the release version needs an update.


Top
 Profile  
 
 Post subject: not for me
PostPosted: Fri Jul 25, 2008 7:44 pm 
Newbie

Joined: Fri Jul 25, 2008 7:40 pm
Posts: 1
I installed the nightly of Tools and I have still the same error.
Did you reinstall the Ganymede?

Alex


Top
 Profile  
 
 Post subject: Re: not for me
PostPosted: Mon Jul 28, 2008 12:33 pm 
Newbie

Joined: Wed Jul 23, 2008 6:39 pm
Posts: 3
abalaban wrote:
I installed the nightly of Tools and I have still the same error.
Did you reinstall the Ganymede?

Alex


I did use a fresh copy of 3.4, yes (eclipse-java-ganymede-win32.zip), as I was using a nightly build of eclipse that was about a week earlier than 3.4 release. The fresh 3.4 version did not work with the release version of hib tools. I put the nightly build version of hib tools in and it did work. Then I copied over my other plugins (one being the troublesome clearcase) and it still worked. I didn't attempt any further diagnostics. I can just say that with 3.4 release and hib tools release it did not work, but with hib tools nightly it did.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 29, 2008 7:49 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
the log indicates some mess up in the plugin dependencies.

e.g. not having WTP installed or we broke some version naming ;(

solution: install it in a fresh ganymede.

_________________
Max
Don't forget to rate


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 18 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.