Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

error while executing ant

Status
Not open for further replies.

nkmb

Programmer
May 10, 2006
33
0
0
US
Hi all,
I am executing simple ant program.This is my code

Code:
<project  name="test" default="hello">
  <target name="hello">
    <echo message="Hello, World"/>
  </target>
</project>

i am getting this error

java.lang.InstantiationException: org.apache.tools.ant.Main
at java.lang.Class.newInstance0(Class.java:335)
at java.lang.Class.newInstance(Class.java:303)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:245)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)


please anybody help me.

thanks inadvance,
nkmb
 
Hi All,

It,s problem with my set up only,now it,s working.


thanks,
nkmb
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top