ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: java.lang.InstantiationException: org.apache.tools.ant.Main
Date Wed, 14 Jan 2004 07:21:36 GMT
Mmh, works for me.
Do you have set a classpath with ant.jar in it?

Jan

> -----Original Message-----
> From: Vijay Prasanna [mailto:vijay@leadingc.com]
> Sent: Tuesday, January 13, 2004 4:45 PM
> To: user@ant.apache.org
> Subject: java.lang.InstantiationException: org.apache.tools.ant.Main
> 
> 
> Hi,
>       After intalling ANT1.6.0, i was able to execute build 
> file with ftp & mail tasks, but now suddenly even " ant 
> -version" at cmd prompt gives
> 
>     C:\>ant -version
>             java.lang.InstantiationException: 
> org.apache.tools.ant.Main
>         at java.lang.Class.newInstance0(Class.java:293)
>         at java.lang.Class.newInstance(Class.java:261)
>         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:214)
>         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:90)
> 
>         what could be wrong,
> 
> thanx,
> vijay
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message