ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Cobban" <jcob...@magma.ca>
Subject NoClassDefFound trying to run ant
Date Mon, 27 Jan 2003 22:39:49 GMT
While I wait for a solution to the problem in ant.bat I have replaced the 'if exist' statement
with an unconditional goto.

Now I get:

D:\MyPrograms\JavaProgs\CensusServlet\ReadXls>ant
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/Main

So I assume that the classpath is wrong.  However there is nothing in the installation instructions
about setting the classpath.

Personally I think there is a problem with the installation instructions.

Jim Cobban   jcobban@magma.ca
34 Palomino Dr.
Kanata, ON, CANADA
K2M 1M1
+1-613-592-9438
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message