Eclipse Ant problem after upgrade: Could not find main class for InternalAntRunner

27 10 2012

The error appears after calling ant build command with eclipse and it is known issue after eclipse upgrade.

How to repair

It is enough to ‘Restore Defaults‘ settings of ant Runtime in Eclipse Window -> preferences. As for now it is just a workaround (the eclipse issue is still opened for it):

Restore Ant Defaults

Ensure that you have proper Ant configuration in eclipse

Make sure that eclipse has ant plugin installed. If not – follow instructions at the bottom of this page: Troubleshooting Eclipse Installation.

Did I help you?
I manage this blog and share my knowledge for free sacrificing my time. If you appreciate it and find this information helpful, please consider making a donation in order to keep this page alive and improve quality

Donate Button with Credit Cards

Thank You!



3 responses

15 02 2013

Thank you! This article helped me to fix my problem!

2 09 2013


21 02 2018

click ant home button and specify an ant folder ( maybe ant that was downloaded)

Give Your feedback:

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: