原创

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






  • 本站总访问量:

    次   本站访客数:

    人次

    联系方式:975596038@qq.com

    Copyright © 2020 - 2025 ZhangQuan    蜀ICP备20000679号