Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Hibernate
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Hibernate section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 14th, 2008, 08:34 AM
Authorized User
Join Date: Dec 2007
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to annumol
Default pakage not exist error

when i comple my java program using hibernate3.the followimg error

 package org.hibernate does not exist
import org.hibernate.*;

package org.hibernate.cfg does not exist
import org.hibernate.cfg.*

i copied all jar files to /lib from hibernate3.zip and also copy hibernate3.jar to my development /lib directory

i set my classpath like the follwing(i am using linux)

export JAVA_HOME=/usr/Java/jdk1.5.0_14
export CATALINA_HOME=/usr/java/tomcat5/apache-tomcat-5.5.25

export CLASSPATH=$CLASSPATH:$CATALINA_HOME/common/lib/:$CATALINA_HOME/webapps/test/WEB-INF/lib/:$CATALINA_HOME/webapps/test/WEB-INF/classes/:/usr/Java/jdk1.5.0_14/lib/tools.jar:/usr/Java/jdk1.5.0_14/:

pls help me.Thank you in advance

Old August 13th, 2008, 03:32 AM
Friend of Wrox
Join Date: Mar 2007
Posts: 373
Thanks: 0
Thanked 1 Time in 1 Post

add your application lib directory OR the hibernate jar files to the class path.

- Rakesh

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error # 462 - Remote Server does not exist or is u doncar38 Word VBA 3 January 17th, 2008 08:04 AM
Error :Provider (0x80040E37)Table does not exist. thahir Classic ASP Components 0 September 12th, 2005 12:02 AM
Error 462 : Remote server doesn't exist ldk2004 BOOK: Expert One-on-One Access Application Development 0 December 17th, 2004 01:21 PM
Error Message: SQL Server does not exist or access danielboland SQL Server 2000 1 January 19th, 2004 01:28 PM
Parse error on line that does not exist shabboleth Beginning PHP 1 December 19th, 2003 01:41 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.