当原有项目换成maven项目时,往往不知道具体jar包在maven里叫什么。这边文章教你如何去找到自己想要的jar的maven包。 工具/原料 浏览器 方法/步骤 1 登录一下网站 http://mvnrepository.com/ 或者 http://search.maven.org/ 2 输入对应的包名如spring 3 查找自己想要的包如Spring Context,点击Spring Context进入详情页面。可以看到很多Spring Context包的版本,选择自己想要的点击 4 复制文本,并放入pom.xml中 转载于:https://www.cnblogs.com/snowbook/p/5623865.html