简体   繁体   English

Eclipse在尝试在本地主机上启动静态Web时卡住

[英]eclipse gets stuck when trying to launch static web on local host

I am trying to run a static web page on my mac (Yosemite 10.10.2) using eclipse Luna. 我正在尝试使用Eclipse Luna在我的Mac(Yosemite 10.10.2)上运行静态网页。

When I run it for the first time it works perfectly fine. 当我第一次运行它时,它工作得很好。 But as soon as I exit from eclipse, reopen it and click on run button then HTTP Preview progress gets stuck at 100% while showing: 但是,一旦我退出eclipse,请重新打开它并单击“运行”按钮,然后HTTP Preview进度会停留在100%,同时显示:

Preparing Launch delegate ... Launching delegate 正在准备启动委托...正在启动委托

The only workaround I've found so far is to exit eclipse, delete the whole workspace folder and run eclipse again. 到目前为止,我发现的唯一解决方法是退出eclipse,删除整个工作区文件夹,然后再次运行eclipse。 It works but it's so annoying. 它有效,但是很烦人。 I tried this before with mountain lion OS and eclipse kepler and same thing happens. 我之前用山狮OS和Eclipse Kepler尝试过此操作,并且发生了同样的事情。

I really appreciate your help. 非常感谢您的帮助。

日食重启后,它为我工作。

Had same problem and it turns out that my mistake was changing /etc/hosts file configuration for 127.0.0.1. 有同样的问题,原来我的错误是更改了127.0.0.1的/ etc / hosts文件配置。 After removal of config changes, server worked. 删除配置更改后,服务器正常工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM