Eclipse:IWAV0171E 无法创建到远程虚拟机的套接字连接
我已经很好地设置了 Eclipse 来编写简单的 Java 桌面应用程序,直到今天,当我尝试在可视化编辑器中打开一个类时,我收到错误:
---------------------------
Error:
---------------------------
IWAV0138E Remote VM terminated too soon. See .log file for trace of output.
For VM "Project (MyProj)-VM for MyProj".
详细信息是:
An internal error occurred during: "Create Remote VM for Visual Editor for Java".
IWAV0171E Could not create a socket connection to remote vm.
This is often due to your firewall blocking access from your java
to do local access.
现在我环顾四周,发现 javaw.exe 无法建立本地连接,并且防火墙被阻止,因此我关闭了 Windows 和卡巴斯基的防火墙,但这没有任何区别。
此外,我尝试修改 win/system32/drivers/etc
中的主机文件,该文件已经将 127.0.0.1
链接到 localhost
,但我添加了另一条带有真实网络 IP 和计算机名称的行也不起作用。
我尝试运行嵌入在 Oracle Weblogic 中的 Eclipse,它可以工作,所以我猜测它只能与我正在使用的 JDK 一起使用?有人遇到这个问题吗?
问候, 伊姆兰
I had my Eclipse nicely setup for writing simple Java desktop applications untill today when I tried to open a class in Visual Editor I`m getting the error:
---------------------------
Error:
---------------------------
IWAV0138E Remote VM terminated too soon. See .log file for trace of output.
For VM "Project (MyProj)-VM for MyProj".
In details the information is :
An internal error occurred during: "Create Remote VM for Visual Editor for Java".
IWAV0171E Could not create a socket connection to remote vm.
This is often due to your firewall blocking access from your java
to do local access.
Now I looked around and found that javaw.exe
cannot make a local connection and the firewall is blocking , so I turned off the firewall, both Windows and Kaspersky, but that didnt make any difference.
Further I tried modifying the host file in win/system32/drivers/etc
, which already had 127.0.0.1
linked to localhost
, but i added another line with real network ip and computer name and that didn't work too.
I tried running Eclipse that I have embedded in Oracle Weblogic , and it works, so I am guessing it is only with the JDK I`m using? anybody had this problem?
regards,
Imran
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论