Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
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

2 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!