原创

maven报错 the goal you specified requires a project to execute but there is no POM in this direct...




linux下的maven mvn install报以下错误

the goal you specified requires a project to execute but there is no POM in this directory(自己的路径).Please verify you invoked Maven from the correct directory. [Help 1]

这个错误的原因是当前目录下没有pom.xml 文件,Maven执行必须要pom.xml文件,所以我就跑到pom.xml文件目录下 mvn install.问题解决

Java
  • 作者:CodeC.C(联系作者)
  • 发表时间:2020-08-24 13:47:23
  • 评论  null  条