ERROR: Failed to load
Exception in thread "main" null: <!doctype html>
HTTP Status 404 – Not Found
HTTP Status 404 – Not Found
Type Status Report
Message The requested resource [/versions] is not available
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.58
at com.baidu.hugegraph.exception.ServerException.fromResponse(ServerException.java:44)
at com.baidu.hugegraph.client.RestClient.checkStatus(RestClient.java:100)
at com.baidu.hugegraph.rest.RestClient.get(RestClient.java:193)
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:122)
at com.baidu.hugegraph.driver.HugeClient.initManagers(HugeClient.java:108)
at com.baidu.hugegraph.driver.HugeClient.(HugeClient.java:72)
at com.baidu.hugegraph.loader.util.HugeClientHolder.newHugeClient(HugeClientHolder.java:45)
at com.baidu.hugegraph.loader.util.HugeClientHolder.get(HugeClientHolder.java:33)
at com.baidu.hugegraph.loader.HugeGraphLoader.createSchema(HugeGraphLoader.java:108)
at com.baidu.hugegraph.loader.HugeGraphLoader.load(HugeGraphLoader.java:85)
at com.baidu.hugegraph.loader.HugeGraphLoader.main(HugeGraphLoader.java:66)
bin/hugegraph-loader -g hugegraph -f example/file/struct.json -s example/file/schema.groovy
ERROR: Failed to load Exception in thread "main" null: <!doctype html>
HTTP Status 404 – Not Found
Type Status Report
Message The requested resource [/versions] is not available
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.58
at com.baidu.hugegraph.exception.ServerException.fromResponse(ServerException.java:44) at com.baidu.hugegraph.client.RestClient.checkStatus(RestClient.java:100) at com.baidu.hugegraph.rest.RestClient.get(RestClient.java:193) 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:122) at com.baidu.hugegraph.driver.HugeClient.initManagers(HugeClient.java:108) at com.baidu.hugegraph.driver.HugeClient.