2013-01-18 29 views
0

[ERROR] No plugin found for prefix 'archtype' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\Varun.m2\repository), central (http://repo.maven.apache.org/maven2)]錯誤,當我嘗試下載Maven拱形物(MVN結構的項目:生成)

如果我嘗試從瀏覽器訪問http://repo.maven.apache.org/maven2,我得到的錯誤:

Browsing for this directory has been disabled. View this directory's contents on http://search.maven.org instead.

請幫助。

回答

0

錯誤說:「......前綴‘結構的項目’」 你嘗試原型,而不是結構的項目? :-)

+0

以管理員的伎倆運行命令提示符。感謝您的建議。 – varun

0

如果你想生成原型,那麼它是一個錯字。應該archetype而不是「archtype`。

mvn archetype:generate 
相關問題