下载一个 Maven 依赖项时出现问题
Issue downloading one Maven dependency
当 运行 mvn clean install
:
时出现此错误
[ERROR] Failed to execute goal on project Hian-Persistence-Direct: Could not resolve dependencies for project ue.hian:Hian-Persistence-Direct:jar:3.0: Failed to collect dependencies at com.ibatis:ibatis2:jar:2.3.0.677: Failed to read artifact descriptor for com.ibatis:ibatis2:jar:2.3.0.677: Could not transfer artifact com.ibatis:ibatis2:pom:2.3.0.677 from/to maven-public (https://binaries.me.com/artifactory/public-maven): Not authorized , ReasonPhrase:Unauthorized. -> [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/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :Hian-Persistence-Direct
我在命令行中运行这个。有没有可能我没有正确配置maven?如果做不到这一点,我如何获得问题依赖的完整路径?我想看看我是否可以通过浏览器访问它。
我的 settings.xml
中的神器密码不正确
当 运行 mvn clean install
:
[ERROR] Failed to execute goal on project Hian-Persistence-Direct: Could not resolve dependencies for project ue.hian:Hian-Persistence-Direct:jar:3.0: Failed to collect dependencies at com.ibatis:ibatis2:jar:2.3.0.677: Failed to read artifact descriptor for com.ibatis:ibatis2:jar:2.3.0.677: Could not transfer artifact com.ibatis:ibatis2:pom:2.3.0.677 from/to maven-public (https://binaries.me.com/artifactory/public-maven): Not authorized , ReasonPhrase:Unauthorized. -> [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/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :Hian-Persistence-Direct
我在命令行中运行这个。有没有可能我没有正确配置maven?如果做不到这一点,我如何获得问题依赖的完整路径?我想看看我是否可以通过浏览器访问它。
我的 settings.xml
中的神器密码不正确