IDEA 中的 Scala 插件不起作用

发布于 2024-10-10 01:09:30 字数 132 浏览 0 评论 0原文

当我尝试在 IDEA 中使用 scala 时,它会尝试编译 java 源并抛出异常 使用 UTF-8 解码 path-to-java-file.java 时出现 IO 错误

如何通过 scala 编译器取消不需要的 java 编译?

When i tring to use scala in IDEA it tries to compile java sources and throws
IO error while decoding path-to-java-file.java with UTF-8

How can I disbale not needed java compilation by scala compiler?

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

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

发布评论

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

评论(1

少女七分熟 2024-10-17 01:09:30

您需要安装 IDEA Scala 插件,让您的项目使用 Scala Facet,并确保您拥有有效的编译器。

我使用 Maven 项目,因此 IDEA 会选择配置。

我建议您检查 插件站点 和 < href="http://devnet.jetbrains.net/community/idea/scala?view=discussions" rel="nofollow">社区了解更多详细信息。

You need to install the IDEA Scala plugin, have your project with the Scala Facet, and make sure you have a valid compiler.

I use maven projects so IDEA picks up the configurations.

I would recommend you check the plugin site and the community for more details.

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