I did get this error message in intellij while running a spring-boot server:
'mvn' is not recognized as an internal or external command, operable program or batch file
It didnt recognize maven when I was trying to build the project standing in my projectfolder with: mvn spring-boot:run
I solved this by downloading maven: https://maven.apache.org/install.html and manually added the bin file in the apache-maven-3.5.3 folder to librarys
It seems a bit backwards. Are there any other/better way?