mvn help:system报错的原因

命令行输入mvn -v可以成功,但输入mvn help报错:

No plugin found for prefix  help  in the current project and in the plugin groups

可能是配置文件出错了,找到C盘.m2文件夹下的setting.xml文件

修改mirror标签 如下:

        <mirror>
            <id>aliyunmaven</id>
            <mirrorOf>*</mirrorOf>
            <name>阿里云公共仓库</name>
            <url>https://maven.aliyun.com/repository/public</url>
        </mirror>

猜你喜欢

转载自blog.csdn.net/weixin_52254591/article/details/127444484
mvn
今日推荐