【问题标题】:Restlet not playing well with JSON on GAERestlet 在 GAE 上不能很好地使用 JSON
【发布时间】:2011-11-26 15:48:13
【问题描述】:

我正在 GAE 上开发 Restlet 服务器。到目前为止,我有运行向用户返回字符串的 url。现在我在应用程序中实现 JSON,我已将 org.json2.0 和 org.restlet.ext.json jar 文件添加到构建路径中。但是,每当我尝试使用 Json 时,我总是会收到 NoClassDef 错误。

有什么想法吗?

【问题讨论】:

    标签: java json google-app-engine restlet


    【解决方案1】:

    我认为您将不得不添加杰克逊:

    http://wiki.restlet.org/docs_2.0/13-restlet/28-restlet/299-restlet.html

    这对我来说很好。

    【讨论】:

      猜你喜欢
      • 2016-04-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-04-16
      • 2020-10-16
      相关资源
      最近更新 更多