尝试使用 JSF 创建项目时出错 "Failed to execute goal"
Error "Failed to execute goal" while trying to create a project with JSF
我未能执行目标 org.apache.maven-dependency-plugin:2.8:tree
。
我在 cmd 中使用命令:
mvn archetype:create-DgroupId=com.tutorialspoint.test -DartifactId=helloworld -DarchetypeArtifactId=maven-archetype-webapp
我遵循了很多解决方案,但没有找到任何解决方案。
Maven 找不到目标 create-DgroupId=com.tutorialspoint.test
尝试将 space 放在 create
之后
mvn archetype:create -DgroupId=com.tutorialspoint.test -DartifactId=helloworld -DarchetypeArtifactId=maven-archetype-webapp
该问题的解决方案是使用以下带引号的命令:
mvn archetype:generate "-DarchetypeGroupId=org.apache.maven.archetypes" "-DgroupId=com.tutorialspoint.test" "-DartifactId=helloworld"
我未能执行目标 org.apache.maven-dependency-plugin:2.8:tree
。
我在 cmd 中使用命令:
mvn archetype:create-DgroupId=com.tutorialspoint.test -DartifactId=helloworld -DarchetypeArtifactId=maven-archetype-webapp
我遵循了很多解决方案,但没有找到任何解决方案。
Maven 找不到目标 create-DgroupId=com.tutorialspoint.test
尝试将 space 放在 create
之后mvn archetype:create -DgroupId=com.tutorialspoint.test -DartifactId=helloworld -DarchetypeArtifactId=maven-archetype-webapp
该问题的解决方案是使用以下带引号的命令:
mvn archetype:generate "-DarchetypeGroupId=org.apache.maven.archetypes" "-DgroupId=com.tutorialspoint.test" "-DartifactId=helloworld"