[Pljava-dev] NoClassDefFoundError?

From: manueldao at hotmail(dot)com (Manuel)
To:
Subject: [Pljava-dev] NoClassDefFoundError?
Date: 2008-04-14 19:31:06
Message-ID: BAY109-DAV19D6594DE64241510F97ABBE80@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

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>

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Markus Schaber 2008-04-15 09:06:55 [Pljava-dev] NoClassDefFoundError?
Previous Message Kris Jurka 2008-04-14 15:23:46 Re: [Pljava-dev] stack depth limit exceeded - patch possible?