You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently created Jhipster app using generator version 8.7.3, while generating files noticed log Cannot start maven from wrapper. But the files were generated successfully i could see the execution completion log.
Is this anything wrong in my system wondering due to the space between my PC Username?
Please share your thoughts on this.
Thank you.
-----------------*****----------------------
Below is the error occurred on performing maven update, i have checked the .m2 folder dependency was downloaded from central maven repo.
Can you execute the wrapper directly via cli? Regarding the space, at least I rembemer some issues with spaces (in particular on windows) with node/npm we use to execute the task during generation.
Activity
kesavan22 commentedon Jan 29, 2025
Adding some more observations
Created a new app with the older generator version 7.9.4. I could see the libraries downloading from central repo without error
atomfrede commentedon Jan 29, 2025
Can you execute the wrapper directly via cli? Regarding the space, at least I rembemer some issues with spaces (in particular on windows) with node/npm we use to execute the task during generation.
kesavan22 commentedon Jan 29, 2025
No, I can't execute this via cli, but the downgraded version I can
mshima commentedon Feb 5, 2025
This is an upstream issue:
Nothing to do in your side.
ps10xgit commentedon Feb 6, 2025
In my case, with Maven on Windows, I was also to fix the error by adding quotes around the %MVNW_CMD% in the generated mvnw.cmd.
I changed:
@IF NOT "%__MVNW_CMD__%"=="" (%__MVNW_CMD__% %*)to:
@IF NOT "%__MVNW_CMD__%"=="" ("%__MVNW_CMD__%" %*)Maybe this fix could be applied to the generator template (line 43) https://github.com/jhipster/generator-jhipster/blob/main/generators/maven/templates/mvnw.cmd
mshima commentedon Feb 6, 2025
Release is pending: apache/maven-wrapper#152
@ps10xgit can you contribute with a PR?
fix could not perform Maven update
fix could not perform Maven update
fix could not perform Maven update
fix could not perform Maven update (#28634)