I have recently returned to a project after not using it for a couple of weeks. The project was not created in Eclipse it was imported, and there is no \'.classpath\' file in t
I had a similar problem after changing my project to Gradle. When I right-clicked on javaw.exe->Properties in the 'debug' view, I saw the classpath was (mostly) missing, for instance the 'bin' directory containing the classes wasn't there.
Solution for me was just to delete the 'run debug configuration' and create a new one. After that the classpath was included and I could run it from Eclipse again.
Hope this helps someone out there.
Go to your Project in WorkSpace. And then change your files' attribute from hidden.
Also, then close-open your project and then clean it.
This should work.
Go to the project folder and remove hidden property for the ".classpath" file. Hope this helps. Thanks.
The below solution worked for me.
Go to your project folder --> Right click folder --> Properties --> In general tab, Uncheck the attribute(last field), Read-only (Only applies to this folder) option.
Then try adding jars in eclipse.
Hope this helps