I am importing org.json.JSONObject and maven is using version 20140107. I don't think the version is the issue since maven properties are fetched directly from master which everyone else is using. But I also tried a newer version instead but I still got the same error. It's almost as if eclipse isn't using org.json, but I've made sure that it is.
Could this be a jre issue? Has anyone else encountered a similar issue with org.json.JSONObject?