Eclipse for Java not loading in packages and classes

570 Views Asked by At

so I'm relatively new to Eclipse and programming in general, started using Eclipse for Java a few days ago. It all went well until today. When I open Eclipse, select path, etc. there are no errors or anything but all my classes and packages that are supposed to show on the left side are gone, and it's not the bar that's gone - it's still there, it's just blank. By now I've done some googling but I still have no clue how to fix it. Sure, dragging every file into Eclipse one by one works but even after that, the package explorer bar is still empty as my tea cup right now..

2

There are 2 best solutions below

0
Vasu On

You can try the below setting to get the packages/classes back again:

Window->Reset Perspective

0
chimbu On

I think you are accessing wrong workspace.. Switch to correct path. In eclipse, File. -> Switch Workspace -> Other -> select dropdown too see any other workspace available.. Select correct workspace and check whether the packages and classes are available..