Timeline for Convert Json Array to Java Array
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 8, 2012 at 11:11 | vote | accept | Jeremy | ||
| Nov 8, 2012 at 10:17 | comment | added | Yasin Okumuş | You must import the dependencies of the JSON-lib as well. It depends on Apache Commons too, so you got that error: > Json-lib requires (at least) the following dependencies in your classpath: > jakarta commons-lang 2.5 > jakarta commons-beanutils 1.8.0 > jakarta commons-collections 3.2.1 > jakarta commons-logging 1.1.1 > ezmorph 1.0.6 | |
| Nov 8, 2012 at 10:14 | comment | added | Jeremy |
I've got: import net.sf.json.*;at the top with the other imports then your code, I get the errors Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/lang/exception/NestableRuntimeException Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang.exception.NestableRuntimeException when trying to run it, What did I do wrong?
|
|
| Nov 8, 2012 at 9:42 | history | answered | Yasin Okumuş | CC BY-SA 3.0 |