File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes Error creating mysql database using ant Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Error creating mysql database using ant" Watch "Error creating mysql database using ant" New topic
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: 5823
    
    7

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: 18541
    
    8

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error creating mysql database using ant