Clean up project and regeneration class files in eclipse

After cleaning up the project in eclipse, I donโ€™t see the class files generated in the bin output folder, although there is no build error, what can I do to restore the class files?

thanks

+6
java eclipse
source share
4 answers

Make sure you have the Build Automatically feature enabled, as shown:

alt text http://www.yagarto.de/images/eclipse11.jpg

+3
source share

Perhaps your project is configured to write classes to a location other than. / Bin

+1
source share

In the Project menu, check if the Create automatically option is checked.

Change Have you checked this on Eclipse or in the file browser? Eclipse sometimes takes a long time to update changes to the file system. Perform the upgrade by right-clicking the bin folder and clicking โ€œRefreshโ€ in the context menu.

Edit : check your build path, try reconfiguring it from scratch, I don't know if this will help, but who knows ...

0
source share

To manually generate these .class files that are lost after cleaning up the project, turn off the automatic assembly that is in Project, and then right-click on your project and select the assembly project that will recover your lost .class files.

0
source share

All Articles