为什么IntelliJ只能“编译”某些资源?

发布于 2024-12-03 19:19:01 字数 194 浏览 5 评论 0原文

我正在运行 10.5.2 社区版。我已将

src/main/resources

标记为源目录。我可以右键单击并“编译”某些文件,据我所知,这意味着 IDE 将文件复制到与发送类文件的“com.mydomain.packages”相同的目录级别。我的问题是为什么我可以“编译”XML 和 HTML,但是当我右键单击 CSV 时,编译选项呈灰色?

I'm running 10.5.2 community edition. I have marked

src/main/resources

as a source directory. I can right click and 'compile' certain files which as far as I can tell just means the IDE copies the file to the same directory level as "com.mydomain.packages" where class files are sent. My question is how come I can 'compile' XML and HTML but when I right click on CSV the compile option is greyed out?

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

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

发布评论

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

评论(1

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