首先在项目上右键 选择 Build Path--Configure Build Path 然后选择Java Build Path 在依次选择Libraries -- Add External JARs OK 操作完毕