http://jingyan.baidu.com/article/5225f26b66fc3ce6fb090874.html
当原有项目换成maven项目时,往往不知道具体jar包在maven里叫什么。这边文章教你如何去找到自己想要的jar的maven包。
方法/步骤
-
登录一下网站
http://mvnrepository.com/
或者
http://search.maven.org/
-
输入对应的包名如spring
-
查找自己想要的包如Spring Context,点击Spring Context进入详情页面。可以看到很多Spring Context包的版本,选择自己想要的点击
-
复制文本,并放入pom.xml中