解決方案: 一、右擊項目->properties->Java Build Path->Order and Export,在需要引用的包前面打勾。 二、Project->Clean...