1第一步 打开http://mvnrepository.com/这是maven官方jar的网址 2搜索你需要的jar 2选择你需要的jar 3选择适合你的版本 4复制粘贴maven依赖到你的pom.xml