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

Build Failure While Creating a Project

Avatar

Level 2

danishhussain_0-1676437752743.png

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

Hope this helps,
Thanks,

Krishna

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

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

Hope this helps,
Thanks,

Krishna

Avatar

Community Advisor

@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