Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

While creating a simple AEM project with archetype version 40 giving build failure

Avatar

Level 3

Versions used 

java - java version "11.0.11" 2021-04-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.11+9-LTS-194)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.11+9-LTS-194, mixed mode)

 

mvn - Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)
Maven home: C:\Program Files\apache-maven-3.8.6
Java version: 11.0.11, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-11.0.11
Default locale: en_IN, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

 

npm - 8.19.2

node.js - v18.9.0

command used to create a simple AEM project 

mvn -B org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=40 -D appTitle="Geeks Demo" -D appId="geeksdemo" -D groupId="com.geeks.demo" -D aemVersion=6.5.0 -D singleCountry=n

 

Error

kavyamanjari80_0-1680507594279.png

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\NM00807219\NEW\CODE\geeksdemo\dispatcher\src\conf.d\enabled_vhosts\aem_author.vhost: A required privilege is not held by the client. -> [Help 1]

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

I think, this is related to the permission. can you try in your personal laptop where you have all the rights.



Arun Patidar

View solution in original post

3 Replies

Avatar

Level 3

Hi @arunpatidar, have tried this before creating this post. It didn't work even running cmd as administrator.

 

Avatar

Correct answer by
Community Advisor

I think, this is related to the permission. can you try in your personal laptop where you have all the rights.



Arun Patidar