Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Issue with generating eclipse project file in windows

Avatar

Level 1

Hi,

I am trying to generate eclipse project file but getting 'build failure'.

Below is the error i am getting.

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-eclipse-plugin:2.5.1:eclipse (default-cli) on project company-core: Exception while opening file.

C:\videoTraining\company\company-core\.classpath (Access is denied) -> [Help 1]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

[ERROR]

[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn <goals> -rf :company-core

I have tried running cmd with 'Administrator' and giving the user full permission on the file and its folders but of no use.

Can anyone please help?

0 Replies