maven 构建web程序出现问题
生活随笔
收集整理的這篇文章主要介紹了
maven 构建web程序出现问题
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
這幾天一直在學習maven,剛入門的第一步我就沒有進行的下去,使用mvn ?archetype:create 命令 會報錯:?
Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.3:create (default-cli) on project standalone-pom: Unable to parse configuration of mojo org.apache.maven.plugins:maven-archetype-plugin:2.3:create for parameter #: Cannot create instance of interface org.apache.maven.artifact.repository.ArtifactRepository?
上網找了也沒有找到相關介紹,我在maven官網上查找,并沒有mvn ?archetype:create找到這個命令。
然后在官網上發現:官網是這樣構建的:
mvn -B archetype:generate \-DarchetypeGroupId=org.apache.maven.archetypes \-DgroupId=com.mycompany.app \-DartifactId=my-app 構建成功!create還是沒成功,繼續查找原因。
總結
以上是生活随笔為你收集整理的maven 构建web程序出现问题的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 对gitShell的使用
- 下一篇: Maven2 总结