模块jdk.compiler“打开com.sun.tools.javac.javac.strocessing”。

发布于 2025-02-08 16:53:51 字数 81 浏览 3 评论 0原文

遇到以下错误

如果我执行MVN软件包module JDK.com,

会 ?

I get the following error if i execute mvn package

module jdk.compiler does not "opens com.sun.tools.javac.processing" to unnamed module @15409d4e

I use java 17

how can i fix this problem?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

篱下浅笙歌 2025-02-15 16:53:54

可能是Gradle版本不匹配,需要升级。例如,将Grdle版本升级到7+

it may be that the gradle version does not match and needs to be upgraded. For example, upgrade the grdle version to 7+

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文