2016-02-26 67 views
-1

我是Spring MVC的新手,刚刚开始使用视频教程学习它。我正在使用最新版本的Spring Tool套件 我感到有些问题,并且没有解决方案正在工作 我不得不添加依赖项“org.springframework spring-webmvc” ,但它没有显示在搜索结果中添加依赖部分无法更新中央的索引| http://repo1.maven.org/maven2

我搜索了计算器和尝试以下解决方案:

Eclipse : Maven search dependencies doesn't work

Classic error: Unable to update index for central|http://repo1.maven.org/maven2 但他们没有工作回回我

这里是错误图片:无法更新中央|的索引http://repo1.maven.org/maven2

更新索引框保持加载但没有下载。请帮我

回答

0

假设你已经正确安装行家,让Eclipse来访问你需要去窗口 - >首选项行家过滤行家指数然后勾选

Download repository index in startup. 
+0

感谢回答,但我已经尝试过这,仍然没有工作。我正在使用Spring工具套件 –

+0

是否可以从命令行工作?你的home/.m2文件夹中有你的settings.xml文件吗? –