我是靠谱客的博主 超级跳跳糖,最近开发中收集的这篇文章主要介绍【简记】Gradle 发布到nexus仓库提示 Return code is: 405, ReasonPhrase: HTTP method PUT is not supported by this,觉得挺不错的,现在分享给大家,希望可以做个参考。
概述
问题现象
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':common-base:uploadArchives'.
> Could not publish configuration 'archives'
> Failed to deploy artifacts: Could not transfer artifact com.xx.ent.base:common-base:jar:6.0.0-20220406.053022-1 from/to remote (http://xx.com.cn/nexus/maven-ent-snapshots/): Failed to transfer file: http://xx.com.cn/nexus/maven-ent-snapshots/com/xx/ent/base/common-base/6.0.0-SNAPSHOT/common-base-6.0.0-20220406.053022-1.jar. Return code is: 405, ReasonPhrase: Method Not Allowed.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
原因
发布的地址写错了。
最后
以上就是超级跳跳糖为你收集整理的【简记】Gradle 发布到nexus仓库提示 Return code is: 405, ReasonPhrase: HTTP method PUT is not supported by this的全部内容,希望文章能够帮你解决【简记】Gradle 发布到nexus仓库提示 Return code is: 405, ReasonPhrase: HTTP method PUT is not supported by this所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复