账号密码登录
微信安全登录
微信扫描二维码登录

登录后绑定QQ、微信即可实现信息互通

手机验证码登录
找回密码返回
邮箱找回 手机找回
注册账号返回
其他登录方式
分享
  • 收藏
    X
    Maven 安装后出现 No plugin found for prefix 'help'...问题,该怎么解决?
    21
    0

    运行 mvn help:system 后出现的问题,错误信息如下:

    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 17.008 s
    [INFO] Finished at: 2018-08-10T14:22:12+08:00
    [INFO] Final Memory: 6M/123M
    [INFO] ------------------------------------------------------------------------
    [ERROR] No plugin found for prefix 'help' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (D:\maven\repository), central (https://repo.maven.apache.org/maven2)] -> [Help 1]
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [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 read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException

    我根据网上的一些资料,配置了 settings.xml 里的 mirrors 标签,试了很多个,都不行
    我两台电脑上都出现了这个问题,Maven 3.5、3.3、3.2 都出现这个问题,环境是 JDK1.7 求助!!

    1
    打赏
    收藏
    点击回答
        全部回答
    • 0
    • 孤独一个人的心 普通会员 1楼

      这个问题可能是因为你使用的Maven版本不支持帮助插件。Maven 3.5.1版本及更高版本才支持帮助插件。

      要解决这个问题,你可以尝试以下步骤:

      1. 更新Maven:你可以通过Maven的官方网站下载并安装最新版本的Maven。

      2. 禁用帮助插件:你可以在Maven的settings.xml文件中禁用帮助插件。在<build>标签中添加以下代码:

      xml <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-help-plugin</artifactId> <version>3.1.1</version> <configuration> <ignore /> </configuration> </plugin> </plugins> </build>

      1. 在你的pom.xml文件中添加以下代码:

      xml <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-help-plugin</artifactId> <version>3.1.1</version> <configuration> <ignore /> </configuration> </plugin> </plugins> </build>

      现在,你应该可以使用帮助插件了。如果问题仍然存在,你可以尝试更新Maven的版本,或者检查你的Maven版本和帮助插件版本是否匹配。

    更多回答
    扫一扫访问手机版
    • 回到顶部
    • 回到顶部