You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Vijay Prasanna <vi...@leadingc.com> on 2004/01/13 16:45:20 UTC

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