-->
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.  [ 8 posts ] 
Author Message
 Post subject: Problems executing Hibern8IDE (1.0)
PostPosted: Wed Apr 14, 2004 7:17 am 
Pro
Pro

Joined: Wed Oct 08, 2003 10:31 am
Posts: 247
I've downloaded hibernate-extensions-2.1.zip.
I'm trying to test Hibern8IDE.

My classpath environment variable is as follows:

Code:
classpath=c:\hibernate-extensions-2.1
\hibern8ide\lib\bsh-2.0b1.jar;c:\hibernate-extensions-2.1\hibern8ide\lib\forms-1
.0.3.jar;c:\hibernate-extensions-2.1\hibern8ide\lib\jgraph.jar;c:\hibernate-exte
nsions-2.1\hibern8ide\lib\looks-1.1.3.jar;c:\hibernate-extensions-2.1\hibern8ide
\lib\pf-joi-full.jar


When I try to execute:

Code:
java -jar hibern8ide.jar


I get:

Code:
Exception in thread "main" java.lang.NoClassDefFoundError: org/jgraph/JGraph



Am I missing any jar or am I doing something wrong?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 14, 2004 10:15 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
yes - you need to add all the .jar files in the lib directory

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 14, 2004 10:29 am 
Pro
Pro

Joined: Wed Oct 08, 2003 10:31 am
Posts: 247
max wrote:
yes - you need to add all the .jar files in the lib directory


Thanks for the reply.
I added all the jar's of lib directory. Keeps giving me the error above.

Any ideas?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 14, 2004 11:01 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
Have you added the jgraph.jar found in hibern8ide\lib ?

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 14, 2004 11:38 am 
Pro
Pro

Joined: Wed Oct 08, 2003 10:31 am
Posts: 247
max wrote:
Have you added the jgraph.jar found in hibern8ide\lib ?


Yes. As you can see in my first post above. It's a copy right out of my prompt window.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 14, 2004 12:34 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
hmmm - and you run it from a directory where lib is a subdirectory of ?

try to not use the -jar option and just run it with java net.sf.hibern8ide.Hibern8IDE

(just to check that it is not a "jar restriction")

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 14, 2004 12:45 pm 
Pro
Pro

Joined: Wed Oct 08, 2003 10:31 am
Posts: 247
max wrote:
hmmm - and you run it from a directory where lib is a subdirectory of ?

try to not use the -jar option and just run it with java net.sf.hibern8ide.Hibern8IDE

(just to check that it is not a "jar restriction")


Looks to me the ant build file has some problems.
The "src" property is pointing to "src/java" which doesn't exist. Correcting this to "src", gives another error later on:

Code:
BUILD FAILED
file:C:/hibernate-extensions-2.1/hibern8ide/build.xml:117: C:\hibernate-2.1\lib not found.


He's looking for Hibernate's core jar's?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 14, 2004 1:22 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
eh - first you talk about running hibern8ide with java directly, then you use the build.xml file ....which one do you wanna use ? ;)

_________________
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.  [ 8 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.