步骤: 1、在类库上鼠标右击 2、点击buildPath 3、选中configure Build Path 4、选择Add External Jar,添加jar包 5、在文件夹中找与类库相关的jar包,导入进去