摘要: bin :脚本文件,包括 ES 启动 & 安装插件等等 config : elasticsearch.yml(ES 配置文件)、jvm.options(JVM 配置文件)、日志配置文件等等 JDK : 内置的 JDK,JAVA_VERSION=“12.0.1“ lib : 类库 logs : 日志文 阅读全文
posted @ 2020-02-26 13:04 Moooooocc 阅读(9616) 评论(0) 推荐(1)
摘要: 0. 环境所需依赖包 yum install gcc-c++ -y yum -y install zlib zlib-devel pcre pcre-devel gcc gcc-c++ openssl openssl-devel libevent libevent-devel perl unzip 阅读全文
posted @ 2020-02-25 11:30 Moooooocc 阅读(195) 评论(0) 推荐(0)
摘要: 是否同如下格式: { "settings":{ "number_of_shards":5, "number_of_replicas":1 }, "mappings" : { "properties":{ "id":{ "type":"text", "store":true, "analyzer":" 阅读全文
posted @ 2020-02-25 11:29 Moooooocc 阅读(6441) 评论(1) 推荐(1)
摘要: 问题描述 org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'xxxxx.UserService' available: expected at least 1 be 阅读全文
posted @ 2020-01-09 15:47 Moooooocc 阅读(1187) 评论(0) 推荐(0)
摘要: 1. 配置本机的DNS C:\Windows\System32\drivers\etc\hosts 末行添加 127.0.0.1 jay.localhost.com 可以直接访问 http://jay.localhost.com:8080/相当于直接访问 http://localhost:8080/ 阅读全文
posted @ 2020-01-06 16:33 Moooooocc 阅读(2175) 评论(0) 推荐(0)
摘要: 1. 首先下载elasticsearch和elasticsearch-head https://www.elastic.co/cn/downloads/past-releases https://github.com/mobz/elasticsearch-head 2. 安装nodejs http: 阅读全文
posted @ 2020-01-04 15:30 Moooooocc 阅读(161) 评论(0) 推荐(0)
摘要: 1. 流程主要就是构建索引库然后搜索索引库 lucene-analyzers-common-7.4.0.jar lucene-core-7.4.0.jar lucene-queryparser-7.4.0.jar 2. 构建索引库 1、创建一个Director对象,指定索引库保存的位置 2、基于Di 阅读全文
posted @ 2020-01-03 16:12 Moooooocc 阅读(196) 评论(0) 推荐(0)
摘要: 1. 异步发送邮件异常 org.springframework.mail.MailSendException: Failed messages: com.sun.mail.smtp.SMTPSendFailedException: 501 mail from address must be same 阅读全文
posted @ 2019-12-27 21:44 Moooooocc 阅读(4499) 评论(0) 推荐(1)
摘要: 1. 此部分中文乱码是由于Tomcat的原因 (前提: 需要保证项目Settings -- File Encoding中的所有Encoding都为UTF-8) 修改Tomcat -- conf/logging.properties原配置项中java.util.logging.ConsoleHandl 阅读全文
posted @ 2019-12-26 16:05 Moooooocc 阅读(772) 评论(0) 推荐(0)
摘要: [2019-12-26 10:06:58.959] boot - ERROR [main] , url: jdbc:mysql://127.0.0.1:3306/test?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=con 阅读全文
posted @ 2019-12-26 10:22 Moooooocc 阅读(650) 评论(0) 推荐(0)