【发布时间】:2018-03-19 14:25:39
【问题描述】:
我已将 elasticsearch 项目从 GitHub 克隆到我的本地计算机。构建成功并将其导入eclipse。
当我尝试在 org.elasticsearch.bootstrap.ElasticSearch 类(这是启动 elasticsearch 的入口点)中运行 main() 方法时,出现以下错误:
ERROR: the system property [es.path.conf] must be set
我尝试将系统变量ES_PATH_CONF 设置为
E:\Elasticsearch\Github\elasticsearch-master\distribution\src\main\resources\config.
但它不起作用我仍然遇到同样的错误。 ES_PATH_CONF 变量的上述位置是否正确?有没有其他方法可以解决这个问题?
【问题讨论】:
标签: elasticsearch system-variable