Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Project access denied using Eclipse

I have a Maven project (made of 5 subprojects) I cloned from a Git Repository.

When I compile (mvn clean install) them I get no errors, but, when I import them in Eclipse and try to Right Click > Maven > Update Project on the main one, I get error messages with (Access Denied) on every subproject (not on the main, which, btw is the parent folder with the subprojects' folders in it).

I already checked the folder properties and gave full access on every directory and file for every user, I am actually modifying the files and developing the application, but I still get these error messages when I try to update the project.

Is there an obvious solution I am not seeing?

On a side note: Also my coworker is having the same issue.

like image 984
Eugenio Laghi Avatar asked Nov 23 '12 08:11

Eugenio Laghi


2 Answers

This can be caused by:

  • The project being on a network drive
  • Wrong permissions of the folder or any parent folder
  • A virus scanner preventing unknown executables from accessing the hard disk

To check whether it's a permission problem, create the project in the root of your hard disk and in your home directory.

To check whether it's a problem with the virus scanner, disable it.

like image 196
Aaron Digulla Avatar answered Jan 27 '23 11:01

Aaron Digulla


I had the same problem on a Windows 8 64bit. The problem was that the file .classpath had the hidden flag set. After I removed the hidden flag, everything was fine..

You just remove the .classpath and .project then continue the operations.

like image 27
Rolf Kunisch Avatar answered Jan 27 '23 10:01

Rolf Kunisch