1.maven->Update Project,始终不行
2.然后通过项目右击->Build Path->Configure Build Path->Libraries->Add External JARS,然后在项目右击->Properties->Deployment Assembly->Add->Java Build Path Entries->选择才导入的jar->finish,最后在update一下,就可以了