ElasticSearch path.home is not configured报错解决
来源:互联网 发布:阿里云ssh登录 编辑:程序博客网 时间:2024/06/08 06:42
按照官方教程输入如下代码:
Node node = NodeBuilder.nodeBuilder().node();node = NodeBuilder.nodeBuilder().clusterName("elasticsearch").node();Client client = node.client();
报错信息如下:
Exception in thread "main" java.lang.IllegalStateException: path.home is not configured
解决方法:在main方法的类中右键选择run configurations,在Arguments标签页下的vm arguments输入:-Des.path.home=-Des.path.home即可。比如:
-Des.path.home=-Des.path.home=Eelasticsearch安装目录
0 0
- ElasticSearch path.home is not configured报错解决
- vnc报错 font catalog is not properly configured
- 解决Expected MultipartHttpServletRequest: is a MultipartResolver configured报错
- 解决package ~ is not configured yet
- default listener is not configured in grid infrastructure home
- 解决android 报错: Resource is not a ColorStateList (color or path)
- BNE_UIX_PHYSICAL_DIRECTORY is not configured.
- Is not configured
- 解决Redis报错:MISCONF Redis is configured to save RDB snapshots
- 解决 SQL Server Web Service is not configured.
- Redis报错 MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on d
- elasticsearch报错:None of the configured nodes are available: []
- ElasticSearch报错:None of the configured nodes were available
- eclipse git 报错:the current branch is not configured for pull No value for key branch.xxx.merge found
- eclipse git报错git The current branch is not configured for pull No value for key branch.master.merge
- BNE_UIX_PHYSICAL_DIRECTORY Is Not Configured Error
- php Interpreter is not configured
- Android Studio报错:the selected directory is not a valid home for unknow sdk
- 实现tableView和collectionView的相互关联方法
- <LeetCode OJ> 141 / 142 Linked List Cycle(I / II)
- 行为型模式-状态模式state
- BeanUtils操作Bean的属性
- 实现应用Matrix旋转图像
- ElasticSearch path.home is not configured报错解决
- Qt程序界面美化一-- stylesheet
- Block和typedef
- vmstat
- 行为型模式-策略模式strategy
- 内存分配器一
- jquery对象不用new原因
- Android AppWidget开发
- struct file struct inode