I am working on a Restlet Server on GAE. SO far I have the urls running returning strings to the user. Now I am implementing JSON into the application, I have added the org.json2.0 and org.restlet.ext.json jar files to the build path. However, whenever I try using Json I always get a NoClassDef error.
我正在使用GAE上的Restlet Server。到目前为止,我有urls运行返回给用户的字符串。现在我将JSON实现到应用程序中,我已将org.json2.0和org.restlet.ext.json jar文件添加到构建路径中。但是,每当我尝试使用Json时,我总是会收到NoClassDef错误。
Any ideas?
1 个解决方案
#1
0
I think you will have to add Jackson :
我想你必须添加杰克逊:
https://wiki.restlet.org/docs_2.0/13-restlet/28-restlet/299-restlet.html
That works fine for me.
这对我来说很好。