1
我正在使用GWT,我在运行时遇到了java.lang.NoClassDefFoundError: com/google/gwt/json/client/JSONParser
异常,当我尝试解析JSON时。java.lang.NoClassDefFoundError:com/google/gwt/json/client/JSONParser在试图解析json时在运行时
我已经导入了以下内容: import com.google.gwt.json.client.JSONParser;
我的代码是
String r = ((Text) Entity.getProperty("result")).getValue();
JSONValue jsonValue;
jsonValue = JSONParser.parseStrict(r);
一般我会说,罐子找不到,但在这种情况下,不需要外部JAR,对?那么这里有什么问题,我该如何解决?