sonarqube 启动不了,异常提示:远程主机强迫关闭了一个现有的连接
生活随笔
收集整理的這篇文章主要介紹了
sonarqube 启动不了,异常提示:远程主机强迫关闭了一个现有的连接
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
啟動(dòng)sonarqube 6.7.1 報(bào)下面的錯(cuò)誤:
2018.01.24 10:10:56 WARN app[][o.e.t.n.Netty4Transport] exception caught on transport layer [[id: 0x146de8cb, L:/127.0.0.1:57099 – R:/127.0.0.1:9001]], closing connectionjava.io.IOException: 遠(yuǎn)程主機(jī)強(qiáng)迫關(guān)閉了一個(gè)現(xiàn)有的連接。 at sun.nio.ch.SocketDispatcher.read0(Native Method) at sun.nio.ch.SocketDispatcher.read(Unknown Source) at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source) at sun.nio.ch.IOUtil.read(Unknown Source) at sun.nio.ch.SocketChannelImpl.read(Unknown Source) at io.netty.buffer.UnpooledUnsafeDirectByteBuf.setBytes(UnpooledUnsafeDirectByteBuf.java:433) at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1100) at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:372) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:123) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:644) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:579) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:496) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:458) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)at java.lang.Thread.run(Unknown Source)根據(jù)sonar.properties里面的注釋,mysql版本不能低于5.6,
而我裝的mysql版本5.5,升級(jí)mysql到5.7版本,問(wèn)題解決。
另外如果聯(lián)接數(shù)據(jù)庫(kù)的帳號(hào)密碼錯(cuò)誤,也會(huì)報(bào)這個(gè)錯(cuò)。
總結(jié)
以上是生活随笔為你收集整理的sonarqube 启动不了,异常提示:远程主机强迫关闭了一个现有的连接的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 使用Axios拦截器打印前端请求日志和后
- 下一篇: Error starting userl