[英]Eclipse Maven not showing dependencies
For some reason I am unable to see the all other spring jars when I try to look for dependencies. 出于某种原因,当我尝试查找依赖项时,无法看到所有其他的Spring jar。 I tried deleting the org.springframework from the m2 local repository. 我尝试从m2本地存储库中删除org.springframework。 tried to update / rebuild local and global indexes. 尝试更新/重建本地和全局索引。 but nothing changed. 但是什么都没有改变。
You might have kept the Maven on "Offline" mode. 您可能使Maven处于“脱机”模式。
Go to eclipse (or spring sts) preferences --> type "maven" in search box --> click on "Maven" item in the list on left side --> 转到eclipse(或spring sts)首选项->在搜索框中键入“ maven”->单击左侧列表中的“ Maven”项->
Restart eclipse. 重新开始蚀。 Wait for eclipse to update indexes. 等待Eclipse更新索引。 This should solve your problem. 这应该可以解决您的问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.