异常: availableProcessors is already set to [4], rejecting [4]
在启动类中加入
System.setProperty("es.set.netty.runtime.available.processors", "false");
异常:org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes are available: [{#transport#-1}{VA_eNPshSSmOHZYbNgepsA}{127.0.0.1}{127.0.0.1:9300}]
这个需要保证application.yml中的配置与es的配置文件保持一致即可,es的配置文件在es的安装路径下的config/elasticsearch.yml
05-07 15:48