参考:https://www.cnblogs.com/zhaoke271828/p/13941783.html 按照上文的方法,选择Eclipse菜单栏的project选项下的build automatically,重新运行就可以了