public inbox for [email protected]  
help / color / mirror / Atom feed
Subject: [Pljava-dev] please help - java.lang.ClassNotFoundException: org.postgresql.Driver
Date: Wed, 16 Jun 2010 23:11:11 +0100
Message-ID: <[email protected]> (raw)

Hi

 I compiled and installed Postgres in Ubuntu Jaunty. I need to develop an
extension to PostgreSQL and this is why I choose to compile from the
sources, rather than using an installer.

I tried to install pljava and followed the steps outlines in "
http://wiki.tada.se/index.php/Installing_on_Linux_(or_other_*nix)"; sincerely.
I am sure that I did things correct.

The last step says, run the deployer program. I did that but unfortunately I
get an exception. Please help me here. The exception is below. I tried to
download the jdbc driver at
http://jdbc.postgresql.org/download/postgresql-8.4-701.jdbc3.jar and added
it to classpath. But this did not help. Please advice.

swaroop at swaroop-laptop:~/Project/pljava$ java -cp deploy.jar
org.postgresql.pljava.deploy.Deployer -install
java.lang.ClassNotFoundException: org.postgresql.Driver
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
 at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
 at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:186)
 at org.postgresql.pljava.deploy.Deployer.main(Deployer.java:238)


Regards
Swaroop
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20100616/de389cfe/attachment.html;



view thread (6+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Subject: Re: [Pljava-dev] please help - java.lang.ClassNotFoundException: org.postgresql.Driver
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox