我使用中提到的指令来使用以下Maven命令创建基于Struts2约定的应用程序:
mvn archetype:generate -DgroupId=com.example.apps -DartifactId[WARNING] Use -DarchetypeRepository=<your repository> if archetype's repository is elsewhere.project standalone-pom: The desired archetype does not exist (org.
Using maven-archetype-quickstart (org.apache.maven.archetypes:maven-archetype-quickstart:1.0)1: internal -> org.apache.maven.archetypes:maven-archetype-archetype (An archetype which containsa sample archetype.)
2: in