ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doremieux, Olivier" <>
Subject RE: java.lang.NoClassDefFoundError
Date Wed, 16 Aug 2000 18:58:36 GMT
What kind of file do you have in the lib directory?
What is the output before the error.
You should have something like:
java -classpath ...
What's after classpath?
-----Original Message-----
From: Dayton Spencer []
Sent: Wednesday, August 16, 2000 11:02 AM
Subject: Re: java.lang.NoClassDefFoundError 

I have tried that and it does not work.
I am wondering if something is wrong with the distribution that I have. 
I have the jakarta\bin and jakarta\lib directories and a jakarta\src
directory that seems to contain
source code for the class that cannot be found. 
Do I need to build these.

-----Original Message-----
From: Doremieux, Olivier <
<> >
To: '' <mailto:''>  < <> >
Date: Wednesday, August 16, 2000 2:30 PM
Subject: RE: java.lang.NoClassDefFoundError 

You have probably a problem with your class path.
Is ant in a "long file name" directory?
If yes try to put it in a directory which is 8 charactere long directory.
Change the ANT_HOME variable according to the new Directory name.
It should work.
Let me know how it goes.
-----Original Message-----
From: Dayton Spencer []
Sent: Wednesday, August 16, 2000 10:22 AM
Subject: java.lang.NoClassDefFoundError 

Hello all,
I am compiling a CORBA ORB core (Jacorb 1.1) using JAKARTA-ANT on windows 95
and I keep getting the error below :

Exception in thread "main" "java.lang.NoClassDefFoundError :

I am using JDK 1.2.2.

Does anyone have the solution to this problem.


View raw message