1、Exception in thread "main" net.sf.json.JSONException: JSONObject["filePath"] not found.
at net.sf.json.JSONObject.getString(JSONObject.java:2177)
at net.sf.json.JSONObject.getString(JSONObject.java:2177)
使用getString时报的异常(jsonObj.getString("filePath");)
解决方法:
String filePath = jsonObj.get("filePath") == null ? " ":jsonObj.getString("filePath");