M2e没有找到缺少的存储库 - m2e eclipse插件 [英] M2e not finding missing repository - m2e eclipse plugin

查看:191
本文介绍了M2e没有找到缺少的存储库 - m2e eclipse插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我将鼠标悬停在Eclipse中未找到的包中,然后单击搜索库时,找不到我正在搜索的依赖关系。依赖关系存在于官方的maven存储库中: http://search.maven.org/remotecontent?filepath=javax/portlet/portlet-api/2.0-r12/portlet-api-2.0-r12.pom

When I hover over a package that is not found within Eclipse and click 'Search repositories', the dependency I'm searching for is not found. The dependency exists on the official maven repository : http://search.maven.org/remotecontent?filepath=javax/portlet/portlet-api/2.0-r12/portlet-api-2.0-r12.pom

我需要配置m2e来搜索maven仓库吗?

Do I need to configure m2e to search the maven repository ?

推荐答案

尝试更新您的存储库索引Maven存储库视图。

Try to update your repository index in the Maven Repositories View.


  1. 通过以下方式打开视图: Windows - >显示视图 - >其他 - > Maven - > Maven存储库查看

  2. 开始重建索引和/或 update Index 从中央存储库的上下文菜单

  1. Open the View with: Windows -> Show View -> Others -> Maven -> Maven Repositories View
  2. Start Rebuild Index and/or update Index from the context menu of the Central Repository

这个(长时间运行的)任务通常在启动时完成(Windows - >首选项 - > Maven - >在启动时下载Repository索引更新),但也可能禁用它以获得更好的eclipse启动性能。

This (long running) task is normally done on startup (Windows -> Preferences -> Maven ->Download Repository Index updates on startup) but maybe it is disabled to get a better eclipse startup performance.

这篇关于M2e没有找到缺少的存储库 - m2e eclipse插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆