db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil R Lawrence <prlawre...@Lehigh.EDU>
Subject org.gjt.mm.mysql.Driver could not be loaded
Date Thu, 13 Mar 2003 19:33:24 GMT
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


Mime
View raw message