maven not running successfully

(George Junior Kamugasha) #1

hello why is it that my mvn -v is failing to run successfully today yet the other day it ran successfully and the open-mrs sdk also ran successfully?

(Irene Nyakate) #2

it seems there’s no space between n and - try this mvn -v

(George Junior Kamugasha) #3

i spaced them

(Irene Nyakate) #4

is there anything you did that could have removed it? try restarting your machine

(Juliet Wamalwa) #5

@georgejr Have you tried using the cmd command line? or on git bush mvn -v

(George Junior Kamugasha) #6

@irenyak1 i remember after installing it and being successful, i shut it down till monday when i tried to run mvn -v but then it failed

(George Junior Kamugasha) #7

@jwnasambu i tried using both

(Juliet Wamalwa) #8

What is the output?

(George Junior Kamugasha) #9

Admin@Geo-Jr MINGW64 ~ $ mvn -v bash: mvn: command not found

(Juliet Wamalwa) #10

Then it means Maven is not installed. Is it OK you install again?

(George Junior Kamugasha) #11

let me try once more but i installed before and it ran successfully


@georgejr why don’t you try uninstalling and later install the latest version of maven like I did with mine and it worked. If not try using cmd if git bash is not performing as well as it should be.

(George Junior Kamugasha) #13

am doing it

(George Junior Kamugasha) #14

@jwnasambu @irenyak1 @odorajonathan i have reinstalled it and it has worked thank you

(Juliet Wamalwa) #15

We wish you success.:clap: