eclipse preparing launch delegate...

在mac系统做开发,有时候需要用到80端口,但是由于系统原因,1024以下需要root权限,网络上的解决办法:

1.直接用root启动tomcat;但是不能用eclipse debug;

2.用pf(pfctl)设置端口转发,把80端口请求转发到8080.

经本人测试,停用pf,改用apache或者nginx来转发80请求!
注意,如果eclipse启动tomcat时卡在eclipse preparing launch delegate...

然后报错:

Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor.

可能是你之前设置过pf,这时候把pf停用了就可以了:sudo pfctl -d
启用sudo pfctl -e

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容