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已回复
00
相似问题