java.net.URISyntaxException: Illegal character in hostname at index 15: ws://linux-rd6.5:61614?maximumConnections=1000&wireFormat.maxFrameSize=104857600)
上述异常是因为hostname不合法,解决办法:编辑文件: /etc/sysconfig/network修改: HOSTNAME=new-hostname.domainname修改:/etc/hosts 添加:IP hostname行重启linux机器:reboot