  | |  | java.lang.InstantiationException: org.apache.tools.ant.Main | java.lang.InstantiationException: org.apache.tools.ant.Main 2004-01-14 - By Jan.Materne@(protected)
Back Mmh, works for me.
Do you have set a classpath with ant.jar in it?
Jan
> -- --Original Message-- --
> From: Vijay Prasanna [mailto:vijay@(protected)]
> Sent: Tuesday, January 13, 2004 4:45 PM
> To: user@(protected)
> 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@(protected)
> For additional commands, e-mail: user-help@(protected)
>
|
|
 |