解决eclipse 不能自动import包的问题 解决方案:是eclipse配置的问题 Window > Preferences > Java > Editor > Save Actions 然后选中 Organize impots 是解决问题的关键。 如图: 总结 加油,少年,看好你!