Build Failure While Creating a Project | Community
Skip to main content
Best answer by krishna_sai

Hi @danish-hussain  Can you please try building by opening your command propt as administrator.

Hope this helps,
Thanks,

Krishna

2 replies

krishna_sai
Community Advisor
krishna_saiCommunity AdvisorAccepted solution
Community Advisor
February 15, 2023

Hi @danish-hussain  Can you please try building by opening your command propt as administrator.

Hope this helps,
Thanks,

Krishna

Jagadeesh_Prakash
Community Advisor
Community Advisor
February 17, 2023

@danish-hussain 

 

The error is typically related to file system access. Below are some of the potential reasons

 

  1. Check file permissions: Make sure that the files and directories that are causing the error have the correct file permissions. In some cases, AEM local builds may not have sufficient permissions to access or modify certain files.

  2. Clean your local build: Delete your local build folder and rebuild your project. This can sometimes resolve issues related to file access and file locks.

  3. Check the file system format: The java.nio.file.FileSystemException error can occur if the file system that you are trying to access is not compatible with your operating system. For example, if your AEM local build project is stored on a file system that is formatted for macOS and you are running AEM on a Windows machine, you may encounter this error.

 

As suggested by @krishna_sai  i also recommand you to try building local CMD as a admin user