-->
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: Hibernate Reference: Compile error HibernateUtil.java
PostPosted: Tue Sep 12, 2006 4:35 am 
Newbie

Joined: Mon Sep 11, 2006 5:18 am
Posts: 4
Location: Bolzano (BZ), Italy
Hello,

I am new to Hibernate and following the Hibernate Reference. Up to HibernateUtil.java everything is fine, I compile with ant and build succeeds. After I place HibernateUtil.java where it should go and try to build again, I get compile errors. Import statements can't be resolved:

HibernateUtil.java:2: package org.hibernate does not exist
HibernateUtil.java:3: package org.hibernate.cfg does not exist

Successively, the compiler can't resolve symbols related to those packages.

I appreciate for help.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 12, 2006 4:39 am 
Newbie

Joined: Mon Sep 11, 2006 5:18 am
Posts: 4
Location: Bolzano (BZ), Italy
Newbie error: hibernate3.jar goes into the lib directory.

Apologies for the noise.


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.