Hi
Have you tried updating the your jar files. I once had this problem and I
updated the latest ant jar files which fixed it. Also try ensuring your
CLASSPATH is unset
On Tue, Jul 27, 2010 at 3:55 PM, Konstantin Kolinko
wrote:
> 2010/7/23 王科选 :
> > Hi, I have put the ant.jar and tools.jar into
2010/7/23 王科选 :
> Hi, I have put the ant.jar and tools.jar into $CATALINA_HOME/lib directory
> and while compiling JSP, this error occurs:
>
> java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/AntMain
>
> could anyone explain how to solve this problem?
>
Because that class is not in ant
Hi
Provide the reason why this jar file need to be applied to "$CATALINA_HOME/lib"
???
With regards
Karthik
-Original Message-
From: 王科选 [mailto:rabbit...@gmail.com]
Sent: Friday, July 23, 2010 10:08 PM
To: users@tomcat.apache.org
Subject: change the default javac from
Hi, I have put the ant.jar and tools.jar into $CATALINA_HOME/lib
directory and while compiling JSP, this error occurs:
java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/AntMain
could anyone explain how to solve this problem?
-