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

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

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

上一篇:JDK5.0 特性-线程锁Lock


下一篇:JDK5.0 特性-线程任务执行架构 ScheduledExecutorService