| Eclipse not finding jar file [message #1827788] |
Sat, 23 May 2020 15:25  |
Eclipse User |
|
|
|
I have been away from Eclipse and java for a bit working on other projects so I am a bit rusty with Eclipse. I started a new project the other day using:
Eclipse IDE for Java Developers Version: 2020-03 (4.15.0) Build id: 20200313-1211
I have the following important statements in my java file:
import org.json.simple.JSONObject;
import org.json.simple.JSONArray;
import org.json.simple.parser.ParseException;
import org.json.simple.parser.JSONParser;
The error for the first import statement above is:
The type org.json.simple.JSONObject is not accessible
In the project properties, I have added the external library:
json-simple-1.1.jar
and if I look at the project in the "Project Explorer" tab, it shows that the jar is included in the "Referenced Libraries" for the project, so I think the import statements should be error free.
Does anyone have an ideas on what I am doing wrong?
Jim A.
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05047 seconds