Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I have 6 class files I want to add to the src folder of a new eclipse project I have created.
How can I go about doing so?
I tried copying a class file into the folder through the workspace but I cannot get view it in the project in eclipse.
Thanks,
如果您只是将 Java 源文件复制到src工作区文件夹中的目录中,然后src在 Eclipse 中刷新该文件夹,您将能够看到 Java 源文件,或者实际上您复制的任何文件。您可以使用F5刷新或右键单击并按刷新。
src
F5