You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Dominique Devienne <DD...@lgc.com> on 2004/02/17 22:38:16 UTC

RE: java.lang.NoSuchMethodError: java/lang/ClassLoader.setPackage AssertionStatus(Ljava/lang/String;Z)V

> From: priya pallavi [mailto:pry_pallavi@yahoo.com]
> When iam trying to compile the files using build.xml using ANT , iam
> getting the followingg exception
> 
> java.lang.NoSuchMethodError:
> java/lang/ClassLoader.setPackageAssertionStatus(Ljava/lang/String;Z)V
> 
> Any help is much appreciated

I'd think this is a JDK 1.4+ only method, so normally Ant uses reflection to
call it. What JDK are you running with? What version of Ant? --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


RE: java.lang.NoSuchMethodError: java/lang/ClassLoader.setPackage AssertionStatus(Ljava/lang/String;Z)V

Posted by priya pallavi <pr...@yahoo.com>.
Iam using Jdk 1.4.2 , and Ant 1.4.1 that comes with WSAD 5.1.1

Dominique Devienne <DD...@lgc.com> wrote:> From: priya pallavi [mailto:pry_pallavi@yahoo.com]
> When iam trying to compile the files using build.xml using ANT , iam
> getting the followingg exception
> 
> java.lang.NoSuchMethodError:
> java/lang/ClassLoader.setPackageAssertionStatus(Ljava/lang/String;Z)V
> 
> Any help is much appreciated

I'd think this is a JDK 1.4+ only method, so normally Ant uses reflection to
call it. What JDK are you running with? What version of Ant? --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org



---------------------------------
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online