相关疑难解决方法(0)

mvn archetype:generate不起作用 - 找不到前缀'archetype'的插件

我想使用现有的原型构建一个简单的项目.但我不能跑,mvn archetype:generate因为它一直告诉我以下信息

[ERROR] No plugin found for prefix 'archetype' in the current project and in the
 plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the
repositories [local (C:\Documents and Settings\ccen\.m2\repository), central (ht
tp://repo1.maven.org/maven2)] -> [Help 1]
Run Code Online (Sandbox Code Playgroud)

我正在使用MS Windows并且settings.xml在我的〜/ .m2文件夹中没有使用任何内容,所有内容都是全新的.任何人都可以帮我搞清楚吗?

maven-2

26
推荐指数
4
解决办法
7万
查看次数

标签 统计

maven-2 ×1