【问题标题】:Configure Gremlin Server to use Graphson 2.0配置 Gremlin 服务器以使用 Graphson 2.0
【发布时间】:2019-12-05 13:49:36
【问题描述】:

我已经下载了 apache-tinkerpop-gremlin-server-3.4.4 并尝试从 gremlin.net 连接它。

我收到一个错误:

ServerError: Could not deserialize the JSON value as required. Nested exception: org.apache.tinkerpop.shaded.jackson.core.JsonParseException: Unexpected character ('@' (code 64))

我认为服务器需要配置为使用文档中提到的 Graphson 2.0,但我找不到如何这样做。
任何有关配置 tinkerpop gremlin 服务器以使用 Graphson 2.0 的帮助都将得到帮助。

【问题讨论】:

    标签: gremlin tinkerpop3 gremlin-server


    【解决方案1】:

    正在添加:
    - { className: org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV2d0, config: { ioRegistries: [org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerIoRegistryV2d0] }} # application/json
    在“序列化程序”部分下的 conf/gremlin-server.yaml 中为我做了诀窍

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-08-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多