Reputation: 51
When I try to run test locally I get the error: FAIL: Compilation failed. Then it says "/bin/sh: /Users/local/.config/tmc/apache-maven-3.5.4/bin/mvn: Permission denied"
I am able to submit and run the exercises. How can I rectify this issue? Also if wondering, I am using a MacBook Pro.
Upvotes: 3
Views: 17221
Reputation: 31
Try if doing a chmod +x mvnw
and then committing your change fixes the problem.
Upvotes: 3
Reputation: 51
Found the solution. type this into your terminal: MAKE SURE TO PUT YOUR USERNAME
chmod +x /Users/INSERT USERNAME/.config/tmc/apache-maven-3.5.4/bin/mvn
Upvotes: 2
Reputation: 173
Looks like you don't have permission to access it.
Check this answer out: maven: bash mvn permission denied
It shows you how you can change the permission of the file.
Upvotes: 0