This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
You need to specify the classpath entries for the dependancies. According to the exceptions, you are missing the "org.postgresql.driver" jar from your classpath. If you have a separate library folder with all the required jars for the project , are you sure you havent forgotten to reference it from the configuration build.xml ?
Muhammad Saif Asif Mirza
OCJA(5/6) OCJP(6) OCJWCD(6)
Joined: Feb 25, 2013
Thanks, but all the required jars are in the same folder, am running the project from a dvd-rom cos that's how the installation is supposed to go and I'm following the installation instructions, I've actually done it before and didn't encounter a problem like this.
That might all be true but the fact still remains that the build is expecting to find the postgresql JAR file in the classpath but it is not there. You need to look at the classpath being used for the task that is failing and verify that the JAR file is included in that classpath. You might try runnign ant with the -v option to get verbose output, that might cause the task to print out its classpath. Or you could post the build.xml file (or at least the task that is failing and any classpath references for that task) and the full path location for the postgresql JAR file.