将Gradle从6.7升级到7.0.1时GetClassLoaderCache错误
我是Gradle的新手。每当我尝试将现有项目从6.7升级到7.0.1时,回忆会出现,而
java.lang.NoSuchMethodException: org.gradle.api.tasks.testing.Test.getClassLoaderCache()
我忽略了任何解决方法或缺失的依赖性?
I'm fairly new to Gradle. Whenever I try to upgrade an existing project from 6.7 to 7.0.1 a traceback comes up as
java.lang.NoSuchMethodException: org.gradle.api.tasks.testing.Test.getClassLoaderCache()
Is there any workaround or missing dependency that I'm overlooking?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我遇到了同样的问题,可以通过升级一个插件来解决它。从
到
SO也许检查插件可能会有所帮助。遗憾的是,Gradle例外根本没有帮助。
I had the same problem and could solve it by upgrading one of my plugins. From
to
So perhaps checking your plugins might help. Shame that the Gradle exception doesn't help at all.