Cannnot build java project in Eclipse: resource parent marked as read-only

I am trying to run a java project in Eclipse Kepler. The product works fine on another machine, and I used git clone and Import to load the project on my current computer.

However, when loading the project, I received an error:
The project was not created due to "Resource Parent: / Users / adam /.../ mockup / bin is marked as read-only." Fix the problem, then try updating this project and creating it, as it may be an inconsistent layout. Unknown Java issue

How to solve this problem?

+6
source share
3 answers

Adam, I had the same problem and was solved by granting write permission to my workspace folder. Some tips on how to do this on Linux can be found at: Change folder read / write access on Ubuntu Linux

+4
source

If changing existing file permissions is not possible, you can also specify the assembly folder separately (provided that you can write your changes to the .project file).

Right-click the project and select Properties → Build Path

In this case, change the default output folder.

+1
source

I had the same problem, but I solved by changing the permissions on the project folders that I imported, and not the workspace folder.

+1
source

Source: https://habr.com/ru/post/957355/


All Articles