springframeworkguru/spring-boot-mongodb

maven wrapper is not set in the project correctly

mikhail-putilov opened this issue · 0 comments

╭─snowy@misha-Precision-Tower-3620 ~/IdeaProjects/spring-boot-mongodb  ‹master› 
╰─$ ./mvnw spring-boot:run
Error: Could not find or load main class org.apache.maven.wrapper.MavenWrapperMain

There is a missing .mvn folder. Please, remove the wrapper script or commit the folder. Otherwise it doesn't make sense. I've spent a couple of hours thinking that .mvn folder is there, blaming my jenv installation.