简体   繁体   English

Eclipse:Maven搜索依赖项不起作用

[英]Eclipse: Maven search dependencies doesn't work

I have the same problem as the person who post this: 我和发布此帖的人有同样的问题:

Eclipse : Maven search dependencies doesn't work Eclipse:Maven搜索依赖项不起作用

When I try to search a dependency it just doesn't work. 当我尝试搜索依赖项时,它只是不起作用。 But the solution given in the post above it didn't work for me. 但是上面帖子中给出的解决方案并不适用于我。

I have tried so many things, Updating indexes, Rebuilding, and it took very, very long time for updating and rebuilding, it looked like it was never going to stop, but after all it has stopped and it's still not working. 我已经尝试了很多东西,更新索引,重建,并且花了很长时间进行更新和重建,看起来它永远不会停止,但毕竟它已经停止,它仍然无法正常工作。

I am really desperate and I don't know what to do to solve my problem. 我非常绝望,我不知道如何解决我的问题。 If anyone has any ideas I would be grateful. 如果有人有任何想法,我将不胜感激。

Also had a similar problem, the only thing that solved it was to start over step-by-step with this tutorial: http://www.vogella.com/tutorials/EclipseMaven/article.html 也有类似的问题,解决它的唯一问题是从本教程开始一步一步: http//www.vogella.com/tutorials/EclipseMaven/article.html

I hope it helps you too 我希望它对你也有帮助

Another thing is that in my maven project Run Configuration -> JRE I changed the default to "Alternate JRE" and selected my jdk1.8.0_25 - this was also an important step to make it work 另一件事是在我的maven项目中运行配置 - > JRE我将默认值更改为“Alternate JRE”并选择了我的jdk1.8.0_25 - 这也是使其工作的重要一步

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM