为了账号安全,请及时绑定邮箱和手机立即绑定

运行mvn compile时的出错

F:\>cd F:\apache-mavenMyeclipse


F:\apache-mavenMyeclipse>mvn compile

[INFO] Scanning for projects...

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 0.083 s

[INFO] Finished at: 2018-03-01T18:33:02+08:00

[INFO] Final Memory: 6M/123M

[INFO] ------------------------------------------------------------------------

[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (F:\apache-mavenMyeclipse). Please verify you invoked Maven from the correct directory. -> [Help 1]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException


F:\apache-mavenMyeclipse>

这是什么问题

正在回答

1 回答

文件路径有问题


0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
项目管理利器——maven
  • 参与学习       173090    人
  • 解答问题       742    个

使用maven来构建和管理Java项目,从环境配置,到maven核心知识

进入课程

运行mvn compile时的出错

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信