Window->Proferences->Java->Compiler->Building,不选择“Scrub output folder where cleaning projects”即可。 转载于:https://www.cnblogs.com/vanuan/archive/2006/08/17/9576125.html