Java Service Maven Permission Denied
I'm trying to deploy a spring boot service with a standard default zeroops yaml file but it fails, the error is get on
./mvnw clean install ━━━
is -i: line 1: ./mvnw: Permission denied
appreciate any help with this
Solution:Jump to solution
Ok, it looks like you changed the permissions of the
nvmw
file and the chmod
command will fix it.7 Replies
@Michal hey michal can sudo work in this case ?
I am not sure why it's failing for him, since in our recipe it's working ok.
https://github.com/zeropsio/recipe-spring/blob/main/zerops.yml
Do you have
build.base
set to java@21
?Hi @slowhog ,
prepareCommands
is one stage before the source code is available.
Just give me a minute. I'll take a look.Solution
Ok, it looks like you changed the permissions of the
nvmw
file and the chmod
command will fix it.If you need
npm
in your build you can add nodejs@20
thanks, that worked
@Jan Saidl love the platform, i think it's well designed for devs
💓 Glad to hear it. We're trying to do our best. And we still have much to improve.