connection failed: socket,host=localhost,port=8100,tcpNoDelay=1: java.net.ConnectException: Connect

时间:2014-07-14 22:46:25   收藏:0   阅读:13955

JAVA、openOffice、myeclipse

报错原因:没有启动openOffice服务。

解决办法:

运行→cmd,输入:

cd C:\Program Files (x86)\OpenOffice 4\program

回车

再输入

soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard

回车

 

再重新run as/debug asjava源码,就好了。

connection failed: socket,host=localhost,port=8100,tcpNoDelay=1: java.net.ConnectException: Connect,布布扣,bubuko.com

原文:http://www.cnblogs.com/m3Lee/p/3842323.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!