Eclipse maven Parent of resource marked as read only

I get the following error when I try to add/refactor a class:

Parent of resource: /Users/Mike/git/switch-ingredients/maven/src/main/java/org/apache/maven/maven/Client.java is marked as read only.

I have tried to give permissions to the files(chmod 777), I tried to restart eclipse and change the build path, but no success.

What should I do?
Thanks!

Source: java

Leave a Reply