JanusGraph端查询异常:exception.ResponseException: Undefined type used in query: created

背景

解决了之前的异常问题后,发现还是连接报错, JanusGraph端查询异常:exception.ResponseException: gremlin-groov y is not an avilable GremlinScriptEngine,错误如下:
JanusGraph端查询异常:exception.ResponseException: Undefined type used in query: created

问题解决过程

单纯看这个错,实际上没有任何帮助,甚至会有所误导,找了很多资料,没有帮助,但感觉还是配置出了问题。所以从网上找了一些别人的配置文件,对比一下,发现果然是配置问题。
${janusgraph}/conf/janusgraph-hbase-es.properties配置文件中,加上如下配置
gremlin.graph=org.janusgraph.core.JanusGraphFactory

总结

其实解决思路还是和之前一样,需要看服务端的日志,从如下配置来看,可以些许猜测到是janusgraph-hbase-es.properties配置文件有问题。
JanusGraph端查询异常:exception.ResponseException: Undefined type used in query: created
服务器的日志在${janusgraph}/log/gremlin-server.log中查看。