db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Schneider <jschnei...@kjinteractive.com>
Subject Re: org.gjt.mm.mysql.Driver could not be loaded
Date Thu, 13 Mar 2003 19:57:29 GMT
In my latest workings with MySQL, I needed to change the driver class 
name to:

com.mysql.jdbc.Driver



Phil R Lawrence wrote:

> Hi,
>
> I have an error while doing the tutorial -- I seem to lack the JDBC 
> driver.
>
> <STDOUT>
> [torque-3.0]# ant -f build-torque.xml create-db
> Buildfile: build-torque.xml
>
> create-db-check:
>
> create-db:
> [torque-data-model] Generating to file 
> /usr/local/torque-3.0/src/sql/create-db.sql
> [torque-data-model] Resolver: used database.dtd from 
> org.apache.torque.engine.database.transform package
> [torque-data-model] Resolver: used 
> http://jakarta.apache.org/turbine/dtd/database_3_1.dtd
>      [echo]
>      [echo]       Executing the create-db.sql script ...
>      [echo]
>
> BUILD FAILED
> file:/usr/local/torque-3.0/build-torque.xml:302: Class Not Found: JDBC 
> driver org.gjt.mm.mysql.Driver could not be loaded
>
> Total time: 3 seconds
> </STDOUT>
>
> I do have:
>   /usr/local/torque-3.0/lib/jdbc-2.0.jar
>
> and I could try putting mysql-connector-java-3.0.6-stable-bin.jar (the 
> replacement (?) for org.gjt.mm.mysql.Driver which I just downloaded) 
> in $JAVA_HOME/jre/lib/ext ...  but I really don't know what I'm doing.
>
> Any hints?
> Thanks,
> Phil R Lawrence
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
>
>

-- 
Jim Schneider
KJ Interactive, Inc.
303-765-1357
www.kjinteractive.com





Mime
View raw message