-->
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.  [ 1 post ] 
Author Message
 Post subject: Problems with setting up hibernate to work (path problems?)
PostPosted: Tue May 17, 2005 8:03 am 
Beginner
Beginner

Joined: Tue May 17, 2005 7:39 am
Posts: 27
Location: Rome, Italy
hi, i am a newbie to hibernate (and java in general) and i have problems compiling the example bulndled with hibernate 3.0.3.
I followed all the steps described at http://www.hibernate.org/152.html, but failed at compiling it. Here it is the error i get when i launch "ant eg":


C:\Programmi\hibernate-3.0\build.xml:107: taskdef A class needed by class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask cannot be found: junit/framework/Test


i guess i have problems with classpath, path, etc... but i cannot find them.
i post my settings for the user's environment variables (i am running winXP home):

ANT_HOME=C:\Programmi\ant
CLASSPATH=%JAVA_HOME%\lib;%JAVA_HOME%\mysql-connector-java-3.1.8-bin.jar;%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\rt.jar;C:\Programmi\netbeans-4.0\hibernate-3.0\eg\org\hibernate\auction;%CLASSPATH%;%JRE_HOME%\bin;.
HIBERNATE_HOME=C:\Programmi\hibernate-3.0
JAVA_HOME=C:\Programmi\Java\jdk1.5.0_02
JRE_HOME=C:\Programmi\Java\jre1.5.0_02;.
PATH=C:\gs\gs7.04\lib;C:\gs\gs7.04\bin;C:\texmf;C:\texmf\miktex\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Programmi\File comuni\GTK\2.0\bin;C:\Programmi\MySQL\MySQL Server 4.1\bin;c:\php;C:\Programmi\Executive Software\Diskeeper\;%JAVA_HOME%\bin;%ANT_HOME%\bin

and in the system variables

PATH=Software\Diskeeper\;C:\Programmi\Java\jdk1.5.0_02\bin;C:\Programmi\Java\jdk1.5.0_02\lib\tools.jar;C:\Programmi\ant\bin;.



everything seems like i didn't understand how to set the classpath for my apps: anyone who can clarify it to me will be very appreciated!
thanks in advance
mox[/url]


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

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.