agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] NoClassDefFoundError?
Date: Mon, 14 Apr 2008 21:31:06 +0200
Message-ID: <BAY109-DAV19D6594DE64241510F97ABBE80@phx.gbl> (raw)

I have a test1.jar, which has one class and a few methods. All of the methods work except the ones that call a static method or initialize a class that is located in another jar, test2. jar, which is included in test1. jar, I get the following error message from PostgreSQL:

  ERROR:  java.lang.NoClassDefFoundError: com/example/TestClass

  ********** Error **********

  ERROR: java.lang.NoClassDefFoundError: com/example/TestClass
  SQL state: XX000

test1.jar looks like this on the inside:

  a..    com/example/Main.class (includes "import com.example.TestClass")
  b..   test2.jar

test2.jar looks this on the inside:
  a..    com/example/TestClass

Any ideas as to why that may be happening?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20080414/405b7633/attachment.html;



view thread (2+ messages)  latest in thread

Message-ID: <BAY109-DAV19D6594DE64241510F97ABBE80@phx.gbl>
Permalink:  ../BAY109-DAV19D6594DE64241510F97ABBE80@phx.gbl/
Also on:    postgresql.org/message-id/BAY109-DAV19D6594DE64241510F97ABBE80@phx.gbl

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: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] NoClassDefFoundError?
  In-Reply-To: <BAY109-DAV19D6594DE64241510F97ABBE80@phx.gbl>

* 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