Reputation: 1316
I am getting this error:
Java : The constructor JSONTokener(InputStreamReader) is undefined
I found the latest version of json and add that library but the problem didn't resolved, which I guess is because it is using another library.
Based on this post I need to find which library contains JSONTokener.How can I do that? None of the libraries' names contains json! I am using eclipse.
This is the import line of my program for this class:
import org.json.*;
Upvotes: 2
Views: 913
Reputation:
To the OP: note also that as well as configuring the list of libraries, jars, folders, etc. in the build path, you may have to manually-adjust their order (using the 'Order and Export' tab).
Upvotes: 1