-1

I have a problem with maven it error says "Could not create local repository". I try to .m2 already but it says don't have the repository name m2. I have check file it doesn't have m2 because Maven doesn't have permission to create the repository. I'm newbie in here please help me to fix it.

enter image description here

enter image description here

Misha Brukman
  • 12,938
  • 4
  • 61
  • 78

1 Answers1

1

It's likely there's a file or permissions problem with the path: /home/jurant_subcheevaanan/.m2. You can try removing the .m2 directory entirely. See also the guidance and workarounds here:

Could not create local repository at /var/root/.m2/repository

Ramesh Dharan
  • 895
  • 4
  • 14