Skip to main content

Command Palette

Search for a command to run...

Error: mvnw cannot run if the user name has space characters

Published
1 min read
M

Mohamad's interest is in Programming (Mobile, Web, Database and Machine Learning). He is studying at the Center For Artificial Intelligence Technology (CAIT), Universiti Kebangsaan Malaysia (UKM).

Let's say your windows user name has a space e.g. "james bond".

When you run the PowerShell command ./mvnw , you may get an error

"C:/Users/James" not being recognized. It seems that the space has split the name.

1 views