本地启动了hugegraph使用下面链接的demo执行 , 新建schema时报错 :
https://hugegraph.github.io/hugegraph-doc//quickstart/hugegraph-client.html
schema.propertyKey("name").asText().ifNotExist().create();
Caused by: com.baidu.hugegraph.exception.ServerException: The name of property key can't be null
逐一排查项目依赖 , 发现去掉对fastjson的依赖 , 或强制指定fastjson的依赖为1.1.x , 可以解决此问题 ;
我使用的hugegraph版本:
client : 1.5.8
server : 0.7.4
复现此问题的方法 :
在上面demo项目里面加上对 fastjson 1.2.x 的依赖 : com.alibaba:fastjson:1.2.44
本地启动了hugegraph使用下面链接的demo执行 , 新建schema时报错 :
https://hugegraph.github.io/hugegraph-doc//quickstart/hugegraph-client.html
逐一排查项目依赖 , 发现去掉对fastjson的依赖 , 或强制指定fastjson的依赖为1.1.x , 可以解决此问题 ;
我使用的hugegraph版本:
client : 1.5.8
server : 0.7.4
复现此问题的方法 :
在上面demo项目里面加上对 fastjson 1.2.x 的依赖 : com.alibaba:fastjson:1.2.44