|
Hi All, While I was running ant for cactus samples, its showing the following error. Could any help me
D:\cactus\jakarta-cactus-13-1.5\samples\servlet>ant -verbose Apache Ant version 1.5.3 compiled on April 16 2003 Buildfile: build.xml Detected Java version: 1.4 in: C:\j2sdk1.4.2\jre Detected OS: Windows 2000 parsing buildfile build.xml with URI = file:D:/cactus/jakarta-cactus-13-1.5/samp les/servlet/build.xml Project base dir set to: D:\cactus\jakarta-cactus-13-1.5\samples\servlet dropping D:\cactus\jakarta-cactus-13-1.5\lib\cactus-ant.jar from path as it does n't exist dropping D:\cactus\jakarta-cactus-13-1.5\lib\commons-httpclient.jar from path as it doesn't exist dropping D:\cactus\jakarta-cactus-13-1.5\lib\commons-logging.jar from path as it doesn't exist dropping D:\cactus\jakarta-cactus-13-1.5\lib\aspectjrt.jar from path as it doesn 't exist [taskdef] Loading definitions from resource cactus.tasks [taskdef] Could not load definitions from resource cactus.tasks. It could not be found. [property] Loading D:\cactus\jakarta-cactus-13-1.5\samples\servlet\build.proper ties [property] Loading C:\Documents and Settings\Priyas\build.properties [property] Unable to find property file: C:\Documents and Settings\Priyas\build .properties Override ignored for property servlet.jar Override ignored for property jstl.jar Override ignored for property standard.jar Build sequence for target `dist' is [init, clean, compile.java, war, compile.cac tus, test.prepare.logging, test.prepare, test, dist] Complete build sequence is [init, clean, compile.java, war, compile.cactus, test .prepare.logging, test.prepare, test, dist, compile]
init: [available] Found: D:\cactus\jakarta-cactus-13-1.5\lib\servletapi-2.3.jar [available] Found: lib\jstl-1.0.2.jar [available] Found: lib\standard-1.0.2.jar [taskdef] Loading definitions from resource cactus.tasks
BUILD FAILED file:D:/cactus/jakarta-cactus-13-1.5/samples/servlet/build.xml:162: taskdef clas s org.apache.cactus.integration.ant.CactusTask cannot be found at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:240)
at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:208) at org.apache.tools.ant.Task.perform(Task.java:341) at org.apache.tools.ant.Target.execute(Target.java:309) at org.apache.tools.ant.Target.performTasks(Target.java:336) at org.apache.tools.ant.Project.executeTarget(Project.java:1339) at org.apache.tools.ant.Project.executeTargets(Project.java:1255) at org.apache.tools.ant.Main.runBuild(Main.java:609) at org.apache.tools.ant.Main.start(Main.java:196) at org.apache.tools.ant.Main.main(Main.java:235) Caused by: java.lang.NoClassDefFoundError: junit/framework/TestListener at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:1610) at java.lang.Class.getDeclaredConstructors(Class.java:1169) at org.apache.tools.ant.AntClassLoader.initializeClass(AntClassLoader.ja va:479) at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:231)
... 9 more --- Nested Exception --- java.lang.NoClassDefFoundError: junit/framework/TestListener at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:1610) at java.lang.Class.getDeclaredConstructors(Class.java:1169) at org.apache.tools.ant.AntClassLoader.initializeClass(AntClassLoader.ja va:479) at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:231)
at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:208) at org.apache.tools.ant.Task.perform(Task.java:341) at org.apache.tools.ant.Target.execute(Target.java:309) at org.apache.tools.ant.Target.performTasks(Target.java:336) at org.apache.tools.ant.Project.executeTarget(Project.java:1339) at org.apache.tools.ant.Project.executeTargets(Project.java:1255) at org.apache.tools.ant.Main.runBuild(Main.java:609) at org.apache.tools.ant.Main.start(Main.java:196) at org.apache.tools.ant.Main.main(Main.java:235)
Total time: 0 seconds D:\cactus\jakarta-cactus-13-1.5\samples\servlet>
Thx Priyas
Love whatever you do or Do whatever you love...
This message and any attachment(s) contained here are information that is confidential, proprietary to HCL Technologies and its customers. Contents may be privileged or otherwise protected by law. The information is solely intended for the individual or the entity it is addressed to. If you are not the intended recipient of this message, you are not authorized to read, forward, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete it from your computer.
|
- RE: Cactus Ant Help Priya Sivasubramanian , Tidel Park - Chennai
- RE: Cactus Ant Help nishit.kumar
- RE: Cactus Ant Help Priya Sivasubramanian , Tidel Park - Chennai
- RE: Cactus Ant Help David Kendall
