简体   繁体   中英

Eclipse won't update after adding project to workspace folder

I added a Java project (containing one default package with 2 classes) to my folder which I declare as my workspace in Eclipse. But when I launch Eclipse, it does not add this project in the package explorer. What can I do to solve this problem?

You can't copy files or folders to your workspace folder, you have to import the project into Eclipse:

  1. From the main menu bar, select command link File > Import.... The Import wizard opens.
  2. Select General > Existing Project into Workspace and click Next .
  3. Choose either Select root directory or Select archive file and click the associated Browse to locate the directory or file containing the projects.
  4. Under Projects select the project or projects which you would like to import.
  5. Click Finish to start the import.

在包含源的文件夹上单击右键,然后选择用作源文件夹

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM