title: Schema Spy unable to find postgresql driver
body: <p>I want to use Schema Spy to generate schema diagrams,</p>
  
  <p>I have specifed the following command</p>
  
  <pre><code>java -jar schemaSpy_5.0.0.jar -t pgsql -host 10.100.71.21[:5432] -db mydb -s public -u username -p password -dp postgresql-8.0-312.jdbc3.jar -o output/
  </code></pre>
  
  <p>I have the postgresql driver jar file in the same directory as schema spy jar file. But it gives the following error</p>
  
  <pre><code>[schemaSpy_5.0.0.jar]/net/sourceforge/schemaspy/dbTypes/pgsql.properties
  java.lang.ClassNotFoundException: org.postgresql.Driver
  
  Failed to load driver 'org.postgresql.Driver'from: [file:/home/panx/postgresql-8.0- 312.jdbc3.jar]
  This entry doesn't point to a valid file/directory: [/whereever/postgresql-8.0-312.jdbc3.jar]
  
  Use the -dp option to specify the location of the database
   drivers for your database (usually in a .jar or .zip/.Z).
  </code></pre>
  
  <p>Any help would be appreciated.</p>
  
  <p>Thanks,</p>
  
  <p>Pankaj</p>