ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doremieux, Olivier" <Olivier.Doremi...@fc.celera.com>
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?
 
Olivier
-----Original Message-----
From: Dayton Spencer [mailto:dspencer@fiscal.org.jm]
Sent: Wednesday, August 16, 2000 11:02 AM
To: ant-user@jakarta.apache.org
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.
 
Dayton.

-----Original Message-----
From: Doremieux, Olivier < Olivier.Doremieux@fc.celera.com
<mailto:Olivier.Doremieux@fc.celera.com> >
To: 'ant-user@jakarta.apache.org' <mailto:'ant-user@jakarta.apache.org'>  <
ant-user@jakarta.apache.org <mailto:ant-user@jakarta.apache.org> >
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.
 
Olivier
 
-----Original Message-----
From: Dayton Spencer [mailto:dspencer@fiscal.org.jm]
Sent: Wednesday, August 16, 2000 10:22 AM
To: ant-user@jakarta.apache.org
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 :
org/apache/tools/ant/Main

 
I am using JDK 1.2.2.

Does anyone have the solution to this problem.

Regards,
Dayton


Mime
View raw message