简体   繁体   中英

Eclipse package explorer empty

I'm new to Eclipse, and I can't seem to get the package explorer to cooperate. Here is my current file tree:

└───workspace
    ├───bin
    │   └───var
    ├───res
    │   └───gui
    └───src
        └───var
            └───all of my source code

I attempted to start a workspace in the current tree, \\workspace, \\workspace\\src, and workspace\\src\\var. All resulted in an empty package explorer. I have tried Eclipse Indigo, Juno, Classic Indigo, and Classic Juno, with no success. Can anyone offer help?

Maybe a little late, but i found a solution to this problem! Just right click on the explorer, select import , then in general select Existing project into workspace then find the root folder of your project and it should import it just fine. Well, worked for me anyways ;)

  1. Rightclick on your Project
  2. select 'Properties'
  3. 'Java Build Path'
  4. select tab 'Source'
  5. Button 'Add Folder'
  6. add your source folder / all your source folders

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