JSON-lib NoClassDefFoundError org.apache.commons.lang.exception.NestableRuntimeException

view full story

http://stackoverflow.com – I'm trying to retrieve some data from a MySql database on my website. Specifically, I'm making a game (using the LibGDX framework) and would like to retrieve the top 10 high scores from the database. Here is the portion of my code that processes the JSON data JSONArray jArray = new JSONArray(); jArray.add(result); for (int i = 0; i < jArray.size(); i++) { JSONObject jsonData = (JSONObject) jArray.get(i); System.out.printf("Name:%s \t Score: %d \n", jsonData.getString("name"), jsonData.getInt("score")); } And here is the error I get when the (HowTos)