elasticsearch-header 插件 運(yùn)行后通過http://localhost:9200訪問會(huì)拋出異常
windows下? 執(zhí)行命令 ?
> .\bin\elasticsearch.bat 啟動(dòng) elasticsearch 6.3.1
elasticsearch-header 插件安裝后 運(yùn)行
>npm run start
通過瀏覽器訪問 http://localhost:9200
?elasticsearch 控制臺(tái)會(huì)拋出異常 java.io.IOException(但似乎沒影響elasticsearch-head 運(yùn)行)
java.io.IOException: 榪滅▼涓繪満寮鴻揩鍏抽棴浜?jiǎn)涓€涓幇鏈夌殑榪炴帴銆???????? at sun.nio.ch.SocketDispatcher.read0(Native Method) ~[?:?]
??????? at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43) ~[?:?]
??????? at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) ~[?:?]
??????? at sun.nio.ch.IOUtil.read(IOUtil.java:197) ~[?:?]
??????? at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) ~[?:?]
??????? at io.netty.buffer.PooledHeapByteBuf.setBytes(PooledHeapByteBuf.java:261) ~[netty-buffer-4.1.16.Final.jar:4.1.16.Final]
??????? at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1106) ~[netty-buffer-4.1.16.Final.jar:4.1.16.Final]
??????? at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:343) ~[netty-transport-4.1.16.Final.jar:4.1.16.Final]
??????? at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:123) [netty-transport-4.1.16.Final.jar:4.1.16.Final]
??????? at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645) [netty-transport-4.1.16.Final.jar:4.1.16.Final]
??????? at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:545) [netty-transport-4.1.16.Final.jar:4.1.16.Final]
??????? at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:499) [netty-transport-4.1.16.Final.jar:4.1.16.Final]
??????? at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459) [netty-transport-4.1.16.Final.jar:4.1.16.Final]
??????? at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) [netty-common-4.1.16.Final.jar:4.1.16.Final]
??????? at java.lang.Thread.run(Thread.java:748) [?:1.8.0_172]
2018-07-19
看報(bào)錯(cuò)內(nèi)容,可能是和中文目錄又關(guān)系,你試著把這些文件放到英文目錄下看看!