Expand my Community achievements bar.

SOLVED

how to solve this when i try to build aem-archetype

Avatar

Level 3


[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate (default-cli) on project standalone-pom: java.nio.file.FileSystemException: C:\Users\Mohammed Skouti\Downloads\aemservertest\aem-guides-wknd\dispatcher\src\conf.d\enabled_vhosts\default.vhost: A required privilege is not held by the client. -> [Help 1]

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@MohammedSkouti ,

It seems to be a permission issue on the windows machine. Please try the following:

Open the command window as an Administrator(Right click on the command prompt and run as Administrator) and run the maven archetype generation command in this command prompt.

 

Hope this helps!

View solution in original post

4 Replies

Avatar

Correct answer by
Community Advisor

@MohammedSkouti ,

It seems to be a permission issue on the windows machine. Please try the following:

Open the command window as an Administrator(Right click on the command prompt and run as Administrator) and run the maven archetype generation command in this command prompt.

 

Hope this helps!

Avatar

Level 3

Thanks .!!!
it works !!

Avatar

Level 1

Somehow it did not worked for me even with Administrator  role on CMD. so I tried on bash and it works perfectly 

Avatar

Level 1

Somehow it did not worked for me even with Administrator  role on CMD. so I tried on git bash in administrator mode and it works perfectly