build project后在target下没有class的问题: 在window→preferences→Java→Compiler→Building下,去掉Abort build when build path errors occur的勾选。如下图: