- 博客(3)
- 资源 (4)
- 收藏
- 关注
原创 Caused by: java.lang.NoClassDefFoundError: org/elasticsearch/common/transport/InetSocketTransportAdd
ES从5.5升级7.10.2报错Caused by: java.lang.NoClassDefFoundError: org/elasticsearch/common/transport/InetSocketTransportAddress解决pom中引入与自己项目的ES版本一致的netty如下:<dependency> <groupId>org.elasticsearch.plugin</groupId> <artifactI..
2021-10-27 17:46:55 1413
原创 本地main方法连接elasticsearch
package com.lcb.soa.search.v2.test;import org.junit.Before;import org.junit.Test;import org.elasticsearch.client.transport.TransportClient;import org.elasticsearch.common.settings.Settings;import org.elasticsearch.common.transport.TransportAddress;
2021-10-27 17:39:23 548
原创 MySQL时间戳转换
表里的时间:1634021288917转换后:2021-10-12 14:48:09方法:select FROM_UNIXTIME(t.updated_time/1000,’%Y-%m-%d %H:%i:%s’) from table t order by t.updated_time desc
2021-10-12 15:56:40 765
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人