Gradle Milestone 5 显示有关缺少工件的错误 *#*!*.*
升级到 Milestone 5 后,如何解决在 Gradle 中看到的此错误:
:nodes-all:war :: problems summary :: :::: ERRORS a required artifact is not listed by module descriptor: *#*!*.*
How can I resolved this error that I see in Gradle after upgrading to Milestone 5:
:nodes-all:war :: problems summary :: :::: ERRORS a required artifact is not listed by module descriptor: *#*!*.*
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我遇到这个问题是因为我正在导入:
我应该一直导入:
这里的区别是第一个是一个父项目,实际上并不包含它自己的任何罐子。如果我降级到 M3,它不会在屏幕上显示任何警告,但真正的解决方法是指向 Maven 存储库中的正确 jar。
I had this problem because I was importing:
I should have been importing:
The difference here is that the first is a parent project not actually containing any jars of its own. If I downgraded to M3 it didn't spit any warnings on to the screen, but the real fix was to point at the right jar in the Maven repository.
升级到 gradle 里程碑 6 及之后,它就消失了......不知道是什么原因造成的。我按照本的建议检查了空依赖项,但事实并非如此。无论如何...解决一些刚刚修复的错误。
It's gone after upgrading to gradle milestone 6 and after... not sure what caused it. I checked for empty dependencies as Ben suggested but that wasn't it. Anyways... problem some bug that just got fixed.