Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is Eclipse hanging at 57% with the status "Verifying launch attributes..." when launching a run configuration?

Tags:

After recently converting to Maven from Ant, run configurations that launched immediately pre-Maven take an excessive amount of time and consume an abnormal amount of resources while Eclipse prepares to launch the projects.

Eclipse shows this status message:

Verifying launch attributes... 

At 57% completion, Eclipse hangs for several minutes before finally launching the run configuration. Once launched, the project runs fine and without a problem.

I found this blog article that suggested to clean the local workspace, but that did not solve the problem, especially considering the author is using Git and I am not.

I am only using the latest m2e maven plugin, with the latest version of Eclipse.

What is causing Eclipse to block when launching these run configurations, and how can I fix it?

like image 561
nickb Avatar asked Sep 12 '12 20:09

nickb


1 Answers

I had the same symptoms. I could fix it by adjusting

Eclipse -> Preferences -> Maven -> User Settings 

My maven user settings file was stored on a remote folder. After moving the file to a local disk, the test now start instantly again.

like image 126
joecracker Avatar answered Sep 19 '22 12:09

joecracker