Dear, Just tried with Installed Java version, it worked fine.
The java version i used for ant compilation was not installed but was jar-ed and brought to this machine, and pointed in classpath. Thank You. Prashanth Ninju Bohra <[EMAIL PROTECTED]> 07/05/2007 09:08 PM Please respond to "Ant Users List" <user@ant.apache.org> To Ant Users List <user@ant.apache.org> cc Subject Re: ANT -- Unique Error --Pls Help Hello, This error is usually indicative of a JAVA class version mis-match. A common cause of this creating .class files with one version of JAVA and running them on a on another (incompatible) version. Have you recently changed your environment (OS, JAVA version, ANT_HOME, JAVA_HOME, etc...)? Has this problem always occurred...if so what happens when you type ant -version If not...you need to investigate what external thing has changed. Also, it would help if you could provide a small (preferably the smallest) build.xml that gives you the error so that we can help reproduce the problem. Thanx, Ninju ----- Original Message ---- From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: user@ant.apache.org Sent: Thursday, July 5, 2007 10:22:37 AM Subject: ANT -- Unique Error --Pls Help Dear all, I am getting this error, When running ant , Please help ASAP. ant version -- 1.5.4 BUILD FAILED java.lang.VerifyError: (class: org/apache/tools/ant/types/Path$PathElement, method: <init> signature: (Lorg/apache/tools/ant/types/Path;)V) Expecting to find object/array on stack at org.apache.tools.ant.types.Path.createPathElement(Path.java:187) at org.apache.tools.ant.types.Path.<init>(Path.java:134) at org.apache.tools.ant.types.Path.<clinit>(Path.java:105) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:115) at org.apache.tools.ant.Project.init(Project.java:304) at org.apache.tools.ant.Main.runBuild(Main.java:582) at org.apache.tools.ant.Main.start(Main.java:196) at org.apache.tools.ant.Main.main(Main.java:235) Total time: 0 seconds java.lang.VerifyError: (class: org/apache/tools/ant/types/Path$PathElement, method: <init> signature: (Lorg/apache/tools/ant/types/Path;)V) Expecting to find object/array on stack at org.apache.tools.ant.types.Path.createPathElement(Path.java:187) at org.apache.tools.ant.types.Path.<init>(Path.java:134) at org.apache.tools.ant.types.Path.<clinit>(Path.java:105) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:115) at org.apache.tools.ant.Project.init(Project.java:304) at org.apache.tools.ant.Main.runBuild(Main.java:582) at org.apache.tools.ant.Main.start(Main.java:196) at org.apache.tools.ant.Main.main(Main.java:235) (class: org/apache/tools/ant/types/Path$PathElement, method: <init> signature: (Lorg/apache/tools/ant/types/Path;)V) Expecting to find object/array on stack Thank You. Regards, Prashanth This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only. If by an addressing or transmission error this mail has been misdirected to you, you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or its attachment other than by its intended recipient/s is strictly prohibited. Visit us at http://www.polaris.co.in ____________________________________________________________________________________Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV. http://tv.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only. If by an addressing or transmission error this mail has been misdirected to you, you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or its attachment other than by its intended recipient/s is strictly prohibited. Visit us at http://www.polaris.co.in