1
我是新來的J2EE development.I行家基礎的應用是跟着教程分享@http://www.tutorialspoint.com/jsf/jsf_first_application.htm無法創建使用maven-原型 - web應用程序的插件
用於創建基於Maven的應用。問題是,當我運行的第一個命令
MVN原型:創建-DgroupId = com.tutorialspoint.test -DartifactId =的HelloWorld -DarchetypeArtifactId = Maven的原型 - web應用
我得到以下錯誤:
[ERROR] 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 paramete
r #: Cannot create instance of interface org.apache.maven.artifact.repository.Ar
tifactRepository: org.apache.maven.artifact.repository.ArtifactRepository.<init>
() -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginConfigurationException
它要求去上面的位置,但沒有太多的信息可用。那麼請你幫我解決這個問題。
謝謝。
非常感謝yannick1976 – user991282