赞
踩
Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-04T03:39:06+08:00)
Java version: 1.8.0_121, vendor: Oracle Corporation
添加“archetypeCatalog=internal”避免走网速较慢的中央仓库,否则可能会报文字末尾的错误。
mvn archetype:generate -DarchetypeCatalog=internal -DarchetypeGroupId=org.apache.flink -DarchetypeArtifactId=flink-quickstart-scala -DarchetypeVersion=1.7.2
mvn archetype:generate -DarchetypeCatalog=internal archetypeCatalog=internal -DarchetypeGroupId=org.apache.flink -DarchetypeArtifactId=flink-quickstart-java -DarchetypeVersion=1.7.2
Define value for property 'groupId': com.david.com
Define value for property 'artifactId': flinktoturial
Define value for property 'version' 1.0-SNAPSHOT: : 敲回车,选默认值
Define value for property 'package' com.david.com: : 敲回车,选默认值
Confirm properties configuration:
groupId: com.david.com
artifactId: flinktoturial
ersion: 1.0-SNAPSHOT
package: com.david.com
Y: : Y
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate (default-cli) on project standalone-pom: org.apache.maven.archetype.exception.ArchetypeGenerationFailure: Error merging velocity templates: D:\tmp\flink-tpom.xml (▒ļ▒▒▒▒▒Ŀ¼▒▒▒▒▒▒▒▒▒▒▒ȷ▒▒) -> [Help 1]
解决方案:
详见上文描述
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。