mvn help:system失败原因

C:\Users\Karry>mvn help:system
[INFO] Unable to find the root directory. Create a .mvn directory in the root directory or add the root="true" attribute on the root project's model to identify it.
[INFO] Scanning for projects...
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-clean-plugin:3.2.0: Failed to open file channel for 'NamedLockKey{name='file:///C:/programjava/maven_jar/.locks/artifact~org.apache.maven.plugins~maven-clean-plugin~3.2.0.lock', resources=[org.apache.maven.plugins:maven-clean-plugin:3.2.0]}'
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-install-plugin:3.1.1: Failed to open file channel for 'NamedLockKey{name='file:///C:/programjava/maven_jar/.locks/artifact~org.apache.maven.plugins~maven-install-plugin~3.1.1.lock', resources=[org.apache.maven.plugins:maven-install-plugin:3.1.1]}'
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-deploy-plugin:3.1.1: Failed to open file channel for 'NamedLockKey{name='file:///C:/programjava/maven_jar/.locks/artifact~org.apache.maven.plugins~maven-deploy-plugin~3.1.1.lock', resources=[org.apache.maven.plugins:maven-deploy-plugin:3.1.1]}'
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.12.1: Failed to open file channel for 'NamedLockKey{name='file:///C:/programjava/maven_jar/.locks/artifact~org.apache.maven.plugins~maven-site-plugin~3.12.1.lock', resources=[org.apache.maven.plugins:maven-site-plugin:3.12.1]}'
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-wrapper-plugin:3.2.0: Failed to open file channel for 'NamedLockKey{name='file:///C:/programjava/maven_jar/.locks/artifact~org.apache.maven.plugins~maven-wrapper-plugin~3.2.0.lock', resources=[org.apache.maven.plugins:maven-wrapper-plugin:3.2.0]}'
[INFO] ----------------------------------------------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ----------------------------------------------------------------------------------------------------------------
[INFO] Total time:  0.642 s
[INFO] Finished at: 2024-10-27T19:25:09+08:00
[INFO] ----------------------------------------------------------------------------------------------------------------
[ERROR] Failed to open file channel for 'NamedLockKey{name='file:///C:/programjava/maven_jar/.locks/metadata~org.apache.maven.plugins.lock', resources=[org.apache.maven.plugins]}': C:\programjava\maven_jar\.locks
[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 verbose output

本地仓库权限问题

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值