incubator-hugegraph
incubator-hugegraph copied to clipboard
导入数据失败
Expected behavior 期望表现
期望hugegraph-loader导入数据正常
Actual behavior 实际表现
实际导入数据报错
Steps to reproduce the problem 复现步骤
下载 hugegraph-loader 0.7解压后运行(hugegraph-server运行正常,也实现执行过init-store)按照官方文档 运行的命令:bin/hugegraph-loader -g hugegraph -f example/struct.json -s example/schema.groovy 报错: Exception in thread "main" null: <!doctype html>
HTTP Status 404 – Not Found
Type Status Report
Message /versions
Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Apache Tomcat/8.5.13
at com.baidu.hugegraph.exception.ServerException.fromResponse(ServerException.java:44) at com.baidu.hugegraph.client.RestClient.checkStatus(RestClient.java:63) at com.baidu.hugegraph.rest.RestClient.get(RestClient.java:150) at com.baidu.hugegraph.api.version.VersionAPI.get(VersionAPI.java:41) at com.baidu.hugegraph.driver.VersionManager.getApiVersion(VersionManager.java:45) at com.baidu.hugegraph.driver.HugeClient.checkServerApiVersion(HugeClient.java:101) at com.baidu.hugegraph.driver.HugeClient.initManagers(HugeClient.java:84) at com.baidu.hugegraph.driver.HugeClient.
你本地是不是有起别的服务吗?你用浏览器访问http://127.0.0.1:8080/versions试试看是什么样的响应。
非常感谢您的回复, 我搞错了, 改过端口, 没有加-p参数, 现在构造数据正在导入