Adobe AEM Maven Archetype 24 Error - java.nio.file.FileSystemException
Adobe AEM Maven Archetype 24 Error -java.nio.file.FileSystemException
I tried creating a Adobe AEM Archetype 24 project by using below command
mvn -B archetype:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=24 -D appTitle="My First Site" -D appId="myfirstsite" -D groupId="com.myfirstsite" -D aemVersion="6.5.0"
I got the below error as part of Execution:
ERROR Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.2.0:generate (default-cli) on project standalone-pom: java.nio.file.FileSystemException: C:\Users\user1\Documents\GitHub\myfirstsite\dispatcher\src\conf.d\enabled_vhosts\aem_author.vhost: A required privilege is not held by the client. -> [Help 1]
Solution:
Open command prompt as Administrator and run the same command it fixes the above error.
Also refer below Issue Log from Adobe Git hub for the same:
https://github.com/adobe/aem-project-archetype/issues/329
Comments