org.apache.commons.net.MalformedServerReplyException: Could not parse response code. Server Reply: SSH-2.0-SSH
摘要:1、使用commons-net连接ftp报错,如下所示: 1 org.apache.commons.net.MalformedServerReplyException: Could not parse response code. 2 Server Reply: SSH-2.0-SSH 3 at o
阅读全文
posted @
2021-10-25 17:04
别先生
阅读(1268)
推荐(0) 编辑
jsch jar包连接不上ssh报Algorithm negotiation fail 错误
摘要:参考:https://my.oschina.net/greatqing/blog/740179 1、jsch jar包连接不上ssh报Algorithm negotiation fail 错误 1 com.jcraft.jsch.JSchException: Algorithm negotiatio
阅读全文
posted @
2021-10-25 15:47
别先生
阅读(656)
推荐(0) 编辑
Certificate for <xx.xxx.xxx.xxx> doesn't match any of the subject alternative names: [xx.xxxx.xxxx.com]
摘要:1、 用HttpClient发送Https请求报SSLException: Certificate for <域名> doesn't match any of the subject alternative names问题的解决,报错,如下所示: 1 javax.net.ssl.SSLPeerUnv
阅读全文
posted @
2021-08-25 15:56
别先生
阅读(8762)
推荐(0) 编辑
reason": "Root mapping definition has unsupported parameters:
摘要:1、在Kibana创建索引的时候报错,使用的elasticsearch版本是7.2.1版本。 1 PUT /person 2 { 3 "settings": { 4 "number_of_shards": "10", 5 "number_of_replicas": "0", 6 "refresh_i
阅读全文
posted @
2021-08-13 18:11
别先生
阅读(864)
推荐(0) 编辑
error [03:10:02.393] [warning][process] Error: Request Timeout after 30000ms
摘要:1、启动kibana报错,如下所示: 1 [elsearch@master kibana-7.2.1-linux-x86_64]$ ./bin/kibana 2 log [03:09:30.348] [info][status][plugin:kibana@7.2.1] Status changed
阅读全文
posted @
2021-08-13 11:51
别先生
阅读(484)
推荐(0) 编辑
maybe these locations are not writable or multiple nodes were started without increasing [node.max_local_storage_nodes] (was [1])?
摘要:1、启动elasticsearch报错,如下所示: 1 [elsearch@master elasticsearch-7.2.1]$ ./bin/elasticsearch 2 OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC w
阅读全文
posted @
2021-08-13 11:08
别先生
阅读(1804)
推荐(0) 编辑
[org.springframework.web.bind.MissingServletRequestParameterException: Required String parameter 'xxx ' is not present]
摘要:1、Spring Boot项目,发起Post请求,解决Required String parameter xxx is not present类型异常。 1 2021-03-29 08:43:52 - [http-nio-8082-exec-1] - WARN - o.s.w.s.m.support
阅读全文
posted @
2021-04-02 23:14
别先生
阅读(5862)
推荐(0) 编辑
elasticsearch-7.2.1启动报错
摘要:1、elasticsearch-7.2.1启动报错,the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_prov
阅读全文
posted @
2021-04-02 23:12
别先生
阅读(551)
推荐(0) 编辑
Spring4.0+Mybatis整合时占位符无法读取jdbc.properties的问题
摘要:1、在使用Spring+Mybatis整合时遇到了一个问题,在bean.xml配置文件引用外部jdbc.properties的时候报错,如下所示: 1 java.lang.ClassNotFoundException: ${jdbc.driver} 2 at org.apache.catalina.
阅读全文
posted @
2021-03-01 09:33
别先生
阅读(365)
推荐(0) 编辑
Code: 210. DB::NetException: Connection refused (localhost:9000)
摘要:1、为啥子报这个错误呢,因为我在Clickhouse中使用了Mysql引擎,创建一个数据表。当我使用drop database删除数据库之后,发现删除不掉,然后ctrl+c了,之后再次进入clickhouse客户端就报下面的错误了。 1 [root@master ~]# clickhouse-cli
阅读全文
posted @
2021-03-01 09:32
别先生
阅读(5004)
推荐(0) 编辑
Dbeaver连接不上远程服务器部署的Clickhouse问题
摘要:1、Clickhouse连接端口默认8123,但是Clickhouse默认情况下不允许其他设备进行http连接,所以需要更改clickhouse的默认配置: 1 [root@master local]# vim /etc/clickhouse-server/config.xml 新增一行,默认是注释
阅读全文
posted @
2021-02-19 21:42
别先生
阅读(6719)
推荐(0) 编辑
server.c:5491:15: 错误:‘struct redisServer’没有名为‘maxmemory’的成员
摘要:1、Centos7版本安装redis6.0版本,报下面的错误,如下所示: 1 erver.c:5430:168: 错误:‘struct redisServer’没有名为‘sentinel_mode’的成员 2 serverLog(LL_WARNING, "Warning: no config fil
阅读全文
posted @
2021-02-09 22:14
别先生
阅读(1272)
推荐(1) 编辑
VMware15安装centos7开机黑屏死机问题
摘要:1、关于网上的各种方法和总结,这里主要列出关键信息点,是否必须进入biso查看是否开启虚拟化,完全不用的吗,不然也太麻烦了,打开任务管理器,如下所示: 2、那为啥VMware15安装centos7开机黑屏死机,我的问题是调大了内存参数,之前笔记本是8GB内存,现在是16GB内存,虚拟机搞成了2GB内
阅读全文
posted @
2021-02-02 14:40
别先生
阅读(667)
推荐(0) 编辑
Struts2.5.6版本文件下载问题Can not find a java.io.InputStream with the name [downloadFile] in the invocation stack
摘要:很久很久之前的随笔:https://www.cnblogs.com/biehongli/p/6509557.html 1、Struts2.5.6版本文件下载问题Can not find a java.io.InputStream with the name [downloadFile] in the
阅读全文
posted @
2021-01-28 15:24
别先生
阅读(149)
推荐(0) 编辑
Eclipse Maven 编译错误 Dynamic Web Module 3.1 requires Java 1.7 or newer 解决方案
摘要:1、错误描述,就是导入eclipse构建的maven项目,eclipse的Problem报下面的错误。 解决方法,在pom.xml配置下面,如下所示: 1 <build> 2 <finalName>项目名称</finalName> 3 <plugins> 4 <plugin> 5 <groupId>
阅读全文
posted @
2021-01-05 16:57
别先生
阅读(203)
推荐(0) 编辑
Multiple annotations found at this line: - cvc-elt.1: Cannot find the declaration of element 'beans' 解决办法
摘要:1、在使用eclipse构建基于maven的spring工程时,报下面的错误,如下所示: 1 Multiple annotations found at this line: 2 - cvc-elt.1: Cannot find the declaration of element 'beans'.
阅读全文
posted @
2021-01-03 12:23
别先生
阅读(1348)
推荐(0) 编辑
java.io.FileNotFoundException关于使用Intellij Idea时系统找不到指定文件的解决方案、mysql8.0数据源连接配置
摘要:1、Intellij Idea 这个开发编辑神器(虽然我一点也不喜欢用它),在项目正常启动的时候,如果在你的webapp目录下的空文件夹它是不给你部署的。 解决方案,在空文件夹upload下面随便放个文件就行了。 2、如何将mysql5.x版本升级到mysql8.x版本,需要改的地方: 第一点、如果
阅读全文
posted @
2020-12-30 22:17
别先生
阅读(1147)
推荐(0) 编辑
Mybatis在IDEA中找不到mapper映射文件
摘要:这个问题的解决方法就是在pom.xml文件中加上配置,让编译器把src/main/java目录下的xml文件一同编译到classes文件夹下。 1 <build> 2 3 <!--让编译器把src/main/java目录下的xml文件一同编译到classes文件夹下--> 4 <resources>
阅读全文
posted @
2020-12-07 23:55
别先生
阅读(1045)
推荐(0) 编辑
[WARNING] The requested profile "pom.xml" could not be activated because it does not exist.
摘要:1、错误描述:在执行maven clean的时候有时会出现 The requested profile “pom.xml” could not be activated because it does not exist 的错误。 1 [INFO] Scanning for projects...
阅读全文
posted @
2020-11-25 22:38
别先生
阅读(1705)
推荐(0) 编辑