1、 Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2
.3:create (default-cli) on project standalone-pom: Unable to parse configuration
D:\codes\JSF>mvn archetype:create -DgroupId=com.tutorialspoint.test -DartifactId=helloworld -DarchetypeArtifactId=maven-archetype-webapp
解决方法:将命令中的create改为generate:
mvn archetype:generate -DgroupId=com.tutorialspoint.test -DartifactId=helloworld -DarchetypeArtifactId=maven-archetype-webapp
Maven archetype:create 命令错误修正
本文介绍了一个常见的 Maven 命令错误——使用archetype:create时出现配置解析失败的问题,并提供了解决方案:将create替换为generate。
1万+

被折叠的 条评论
为什么被折叠?



