作者lueichun (no anonymous)
看板java
标题[问题] 使用maven add dependencies
时间Sat Jun 3 21:02:46 2017
我新增了一个maven专案 我想对这专案添加spring的dependecies
所以我打开pom.xml 再选择下方的dependencies->add
跳出以下视窗:
http://imgur.com/h9ue5HI
输入org.spring後 下方原本应该要出现spring的jar档
但是却什麽都没有
请问这应该要怎麽处理呢
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 118.160.102.182
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/java/M.1496494969.A.DA2.html
2F:→ kniver999: pom.xml里面比较快 06/03 21:14
嗯 我知道可以这样做 但是我只是想知道为什麽上面的作法会失败
※ 编辑: lueichun (220.136.198.253), 06/04/2017 11:46:34
3F:→ adrianshum: 因为人家的group id 是org.springframework 吧? 06/05 12:47
4F:→ adrianshum: 还有这也和repository 的index 有关吧?比如你公司内 06/05 12:49
5F:→ adrianshum: 部 的repo又没有publish index 应该不可能search 得 06/05 12:49
6F:→ adrianshum: 到? 06/05 12:49
7F:推 mozzan: 不要太相信eclipse的介面,有时候他就是有bug 06/06 07:36