-->
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.  [ 3 posts ] 
Author Message
 Post subject: java.lang.ClassNotFoundException: org.hsqldb.jdbcDriver
PostPosted: Mon Jan 22, 2007 2:20 am 
Newbie

Joined: Fri Jan 19, 2007 3:19 am
Posts: 5
hai

I have installed JBossIDE-2.0.0.Beta2-Bundle-win32 with hibernate tools 3.2.0.beta8a

I have java project with hibernate.cfg.xml:
<hibernate-configuration>
<session-factory>
<property name="hibernate.connection.driver_class">org.hsqldb.jdbcDriver</property>
<property name="hibernate.connection.url">jdbc:hsqldb:hsql://localhost</property>
<property name="hibernate.connection.username">sa</property>
<property name="hibernate.dialect">org.hibernate.dialect.HSQLDialect</property>
</session-factory>
</hibernate-configuration>

when I try to refresh hibernate configurations view, I have error:
org.hibernate.console.HibernateConsoleRuntimeException: Problems while loading database driverclass (org.hsqldb.jdbcDriver)
java.lang.ClassNotFoundException: org.hsqldb.jdbcDriver
java.lang.ClassNotFoundException: org.hsqldb.jdbcDriver

my question:
how to install hsqldb to jboss eclipse ide?

thanks


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 22, 2007 2:35 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
in beta8 (and before) you need to put the driver in the classpath of the *console configuration*

in beta9 (seperate from jbosside download/update at the moment) it is automatically picked up from the projects classpath.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 22, 2007 2:59 am 
Newbie

Joined: Fri Jan 19, 2007 3:19 am
Posts: 5
thanks, max!
I upgrade hibernate tools to 9a and add to project classpath hsql entry:

<classpathentry kind="lib" path="C:/jboss/hsqldb/lib/hsqldb.jar"/>


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.