Skip to Content.
Sympa Menu

grouper-users - unable to initialize hibernate: Dialect class not found

Subject: Grouper Users - Open Discussion List

List archive

unable to initialize hibernate: Dialect class not found


Chronological Thread 
  • From: David Alexander <>
  • To:
  • Subject: unable to initialize hibernate: Dialect class not found
  • Date: Fri, 05 Dec 2008 12:03:18 -0500
  • Organization: Ohio University


I am having trouble getting the Grouper QuickStart to work with MySQL.
I copied mysql-connector-java-5.1.5-bin.jar to grouper-qs/grouper/lib
prior to building, and I have the following in
grouper.hibernate.properties.mysql:

hibernate.dialect = net.sf.hibernate.dialect.MySQLDialect
hibernate.connection.driver_class = com.mysql.jdbc.Driver
hibernate.connection.url = jdbc:mysql://localhost:3306/grouper

I get this error in grouper_ui.log:

2008-12-05 09:16:27,119 FATAL hib3.Hib3DAO: unable to initialize
hibernate: Dialect class not found: net.sf.hibernate.dialect.MySQLDialect
org.hibernate.HibernateException: Dialect class not found:
net.sf.hibernate.dialect.MySQLDialect

I tried a few things to play around with the Tomcat CLASSPATH and
putting the mysql-connector-java-5.1.5-bin.jar in a few different
places, but I still get the error.


--
Ohio University
<http://edirectory.ohio.edu/?$search?uid=alexandd>



Archive powered by MHonArc 2.6.16.

Top of Page