windows控制台通过maven指令创建项目报错

来源:2-6 Flink批处理应用Java开发之环境准备

眨几次眼睛

2019-07-25

在控制台输入mvn archetype:generate
-DarchetypeGroupId=org.apache.flink
-DarchetypeArtifactId=flink-quickstart-java
-DarchetypeVersion=1.7.0
-DarchetypeCatalog=local后报如下错误:

[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (F:). 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

应该怎么解决?是maven版本不适合吗,我用的3.6.1

写回答

1回答

Michael_PK

2019-07-25

QQ已回复

0
0

新一代大数据计算引擎 Flink从入门到实战

入行或转型大数据新姿势,多语言系统化讲解,极速入门Flink

969 学习 · 296 问题

查看课程