|
|
|
Re: Can't get classes in Referenced Libraries recognized. [message #1692403 is a reply to message #1692386] |
Wed, 15 April 2015 09:28   |
Eclipse User |
|
|
|
On 04/15/2015 06:25 AM, Earl Hodil wrote:
> What details do you need?
Explain what you mean by "I have checked them". Do you mean that you've
used Build Path to integrate them into your project?
Incidentally, you'll likely be sorry to have integrated them using the
Build Path -> Libraries -> Add External JARs button. This puts
computer-specific paths into the .classpath file. Sharing your project
with someone else (committing it to a version-control system, etc.) will
be a disaster. Always integrate your libraries (JAR) dependencies using
Maven, Ivy, Gradle or, if not using those, make a lib subdirectory in
your project, move copies of the JARs there, then integrate using Build
Path -> Libraries -> Add JARs.
This may give you enough information to proceed or, I hope, enough
information to see what Eric's asking about in your project.
Cheers
|
|
|
|
|
|
Re: Can't get classes in Referenced Libraries recognized. [message #1832323 is a reply to message #1692403] |
Wed, 16 September 2020 06:44  |
Eclipse User |
|
|
|
No luck yet.
I created a sub-folder 'lib' underneath the project folder and copied the external JAR files in there ( related to JSON ). Still getting an error "The type org.json.JSONArray is not accessible" with the red cross mark in Eclipse IDE. This is after adding the JAR files via 'Build Path -> Configure Build Path -> Libraries -> classpath -> External JAR files...". Screenshot attached herewith.
I will attempt to created a Maven project in the meanwhile.
Any support to resolve this issue will be much appreciated.
Thanks!
|
|
|
Powered by
FUDForum. Page generated in 0.70266 seconds