-->
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.  [ 2 posts ] 
Author Message
 Post subject: alpha4 - Tools work, except of Console
PostPosted: Thu Jun 16, 2005 8:16 am 
Beginner
Beginner

Joined: Wed Nov 17, 2004 11:15 am
Posts: 25
Hibernate Tools version: alpha4
Eclipse version: 3.1RC2
JBossIDE version: JBossIDE-1.5M1-jre15

Hi,

I'm encountering problems with the Hibernate-Tools alpha4 "Console-Perspective".
(- "Hibernate Configuration File"-Wizard works.
- "Hibernate Console Configuration"-Wizard works.
- "Hibernate Artifact Generation"-Wizard works.)

When I'm switching to the Console Perspective I'm able to see the mapped entities. But clicking them to query throws an error: Exception while executing HQL Query

In the error log I found following message, that was (probably) from starting up the Console-Perspective.

Message:
Plug-in org.hibernate.eclipse.mapper was unable to load class org.hibernate.eclipse.mapper.modelhandler.ModelHandlerForCFGXML.

Full stack trace of any exception that occurs:
java.lang.NoClassDefFoundError: org/eclipse/wst/sse/core/internal/ltk/modelhandler/IModelHandler
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.defineClass(DefaultClassLoader.java:370)
at org.eclipse.core.runtime.adaptor.EclipseClassLoader.defineClass(EclipseClassLoader.java:223)
at org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.findClassImpl(DefaultClassLoader.java:343)
at org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.findClass(DefaultClassLoader.java:235)
at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.findLocalClass(AbstractClassLoader.java:183)
at org.eclipse.core.runtime.adaptor.EclipseClassLoader.basicFindLocalClass(EclipseClassLoader.java:137)
at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseClassLoader.java:118)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:337)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:389)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:350)
at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(AbstractClassLoader.java:78)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:275)


I couldn't find any class in the path: org/eclipse/wst/sse/core/internal/ltk/modelhandler/IModelHandler either.
The path to this class in my installation is:
org/eclipse/wst/sse/core/ltk/modelhandler/IModelHandler (internal missing).

Does anyone know about this problem? (I installed JBossIDE first, then the Tools.) Or what I did wrong?

Thanks
Jonny


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 16, 2005 8:25 am 
Beginner
Beginner

Joined: Wed Nov 17, 2004 11:15 am
Posts: 25
Hi,

Got it working now. After I remove the catalog name in the .hbm.xml files.

Thanks
Jonny


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

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.