Re: Failed to create Java Project...
- From: Estroc <estrocxa@xxxxxxxxx>
- Date: Wed, 12 Mar 2008 17:15:10 -0700 (PDT)
On Mar 12, 12:26 am, Roedy Green <see_webs...@xxxxxxxxxxxxxxxxxxxx>
wrote:
On Mon, 10 Mar 2008 10:42:20 -0700 (PDT), Estroc <estro...@xxxxxxxxx>
wrote, quoted or indirectly quoted someone who said :
java.lang.NoClassDefFoundError: org/apache/tools/ant/Main
sounds as if you are supposed to do something to register the ant
jars with Eclipse. Find the install docs.
--
Roedy Green Canadian Mind Products
The Java Glossaryhttp://mindprod.com
Roedy,
I checked my Eclipse settings:
Windows -> Preferences -> Ant -> Runtime
and the entries in the Classpath tab are all seem OK:
Ant Home Entries
Global Entries
Contributed Entries
In particular, the first entry under "Ant Home Entries" is
/usr/lib/eclipse/plugins/org.apache.ant_1.6.5/lib/ant.jar
and I double check using "jar -tvf" command on the "ant.jar".
There is indeed a "org/apache/tools/ant/Main.class" in that jar.
Everything seems OK, but it still gives me the following error.
Any idea what should I do.
Thanks in advance,
Estro
java.lang.NoClassDefFoundError: org/apache/tools/ant/Main
at org.apache.tools.ant.Project.initProperties(Project.java:
308)
at org.apache.tools.ant.Project.init(Project.java:295)
.
- References:
- Failed to create Java Project...
- From: Estroc
- Re: Failed to create Java Project...
- From: Roedy Green
- Re: Failed to create Java Project...
- From: Estroc
- Re: Failed to create Java Project...
- From: Roedy Green
- Failed to create Java Project...
- Prev by Date: Re: Failed to create Java Project...
- Next by Date: Re: Failed to create Java Project...
- Previous by thread: Re: Failed to create Java Project...
- Next by thread: Re: Failed to create Java Project...
- Index(es):
Relevant Pages
|