问题描述
最近从Ant转换为Maven后,运行即将启动的Maven前的配置会花费大量的时间,并在Eclipse准备启动项目时消耗异常的资源。Eclipse显示此状态消息:
验证启动属性..
在完成57%的时候,Eclipse挂起几分钟,最后启动运行配置。一旦启动,项目运行正常,没有问题。
我发现建议清理本地工作区,但是没有解决问题,特别是考虑到作者使用Git我不是。
我只使用最新版本的Eclipse的最新的m2e maven插件。
当启动这些运行配置时,导致Eclipse阻止什么?如何解决?
我有相同的症状。我可以通过调整
Eclipse - >偏好 - > Maven - >用户设置
我的maven用户设置文件存储在远程文件夹中。将文件移动到本地磁盘后,测试现在再次立即开始。
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?
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.
这篇关于为什么Eclipse挂起57%,状态为“验证启动属性...”启动运行配置时?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!