Author
Error creating mysql database using ant
Antonio Bertil Paiva
Greenhorn
Joined: Dec 17, 2012
Posts: 3
Hello,
i get the following error after running ant create-mysql-database
BUILD FAILED
C:\JDBCTutorial\build.xml:73: Class Not Found: JDBC driver org.apache.derby.jdbc.EmbeddedDriver could not be loaded
the PATH is set with driver path
Please, is there somebody that can help me?
Thanks
Peter Johnson
author
Bartender
Joined: May 14, 2008
Posts: 5575
posted Dec 18, 2012 10:07:39
0
Looks like Ant is not picking up the MySQL JDBC JAR file. the build.xml file should have a way of setting that, either in the file itself or via external properties files, or via a system property on the command line. I would have to see the build.xml file to offer more concrete advice. (I assume that you have downloaded the MySQL JDBC JAR file, right?))
JBoss In Action
Antonio Bertil Paiva
Greenhorn
Joined: Dec 17, 2012
Posts: 3
Thanks for your help. I've solved the problem. My problem now is that MySQL is not starting as service on windows xp. It gives me an error.
Paul Clapham
Bartender
Joined: Oct 14, 2005
Posts: 16487
Then we can mark this thread as "Resolved".
Of course if you reach a roadblock with your MySQL service problem, you can always post another question here on the Ranch!
Antonio Bertil Paiva
Greenhorn
Joined: Dec 17, 2012
Posts: 3
Yes this topic is resolved. I will post the problem of MySQL soon. Thanks
subject: Error creating mysql database using ant