美文网首页
配置sonarqube遇到的一些问题

配置sonarqube遇到的一些问题

作者: k损 | 来源:发表于2018-09-27 15:48 被阅读0次

    先贴出一些错误日志:

    sonar.log


    exception caught on transport layer [[id: 0xbe22d72c, L:/127.0.0.1:49914 - R:/127.0.0.1:9001]], closing connection
    java.io.IOException: 远程主机强迫关闭了一个现有的连接。
    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:192)
    at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
    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.AbstractNioByteChannelNioByteUnsafe.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.SingleThreadEventExecutor5.run(SingleThreadEventExecutor.java:858)
    at java.lang.Thread.run(Thread.java:748)


    web.log

    image.png

    遇到以上的问题的原因是数据库地址问题


    image.png

    这个地方localhost不能填地址,远程的服务器也不行,只能本地装mysql5.7,才能运行成功。

    顺便一提,第一次装的是mysql8.0版本,也运行不起来,换成远程服务器的5.7也不行,最后本地把8.0换成了5.7就成功了。

    相关文章

      网友评论

          本文标题:配置sonarqube遇到的一些问题

          本文链接:https://www.haomeiwen.com/subject/wvbeoftx.html