简体   繁体   English

无法在Eclipse Mars上安装Checkstyle插件

[英]Cannot install Checkstyle plugin on Eclipse Mars

I tried to install Checkstyle plugin on Eclipse Mars, both via Eclipse Marketplace and via the update site ( http://eclipse-cs.sf.net/update ). 我试图通过Eclipse Marketplace和更新站点( http://eclipse-cs.sf.net/update )在Eclipse Mars上安装Checkstyle插件。 I set the option to contact other updates sites to satisfy dependencies, but I got following error: 我设置选项以联系其他更新站点以满足依赖性,但我得到以下错误:

Cannot complete the install because one or more required items could not be found. 无法完成安装,因为找不到一个或多个必需的项目。 Software being installed: Extension for eclipse-cs plugin with additional Checks 1.13.5 (com.github.sevntu.checkstyle.checks.feature.feature.group 1.13.5) 正在安装的软件:带有附加支票1.13.5的eclipse-cs插件扩展(com.github.sevntu.checkstyle.checks.feature.feature.group 1.13.5)
Missing requirement: Sevntu eclipse-cs Extension Plugin 1.13.5 (eclipsecs-sevntu-plugin 1.13.5) requires 'bundle net.sf.eclipsecs.checkstyle 0.0.0' but it could not be found Cannot satisfy dependency: From: Extension for eclipse-cs plugin with additional Checks 1.13.5 (com.github.sevntu.checkstyle.checks.feature.feature.group 1.13.5) To: eclipsecs-sevntu-plugin [1.13.5] 缺少要求:Sevntu eclipse-cs扩展插件1.13.5(eclipsecs-sevntu-plugin 1.13.5)需要'bundle net.sf.eclipsecs.checkstyle 0.0.0'但无法找到它无法满足依赖性:From:Extension for带有额外支票的eclipse-cs插件1.13.5(com.github.sevntu.checkstyle.checks.feature.feature.group 1.13.5)To:eclipsecs-sevntu-plugin [1.13.5]

UPDATE: I installed the plugin from the archive successfully, but online install doesn't work. 更新:我成功地从存档安装了插件,但在线安装不起作用。

The link http://eclipse-cs.sourceforge.net/#!/install gives four different approaches to install the CheckStyle plugin on Eclipse: 链接http://eclipse-cs.sourceforge.net/#!/install提供了四种不同的方法来在Eclipse上安装CheckStyle插件:

  1. Via Eclipse Marketplace link (recommended) 通过Eclipse Marketplace链接(推荐)

  2. Via Eclipse Marketplace client 通过Eclipse Marketplace客户端

  3. From the update site 从更新站点

  4. From an update site archive 从更新站点存档

The first approach (dragging and dropping the link to the workspace) performs an online install, and worked fine for me with Eclipse Mars. 第一种方法(将链接拖放到工作区)执行在线安装,并且使用Eclipse Mars可以很好地为我工作。

The second option (Via Eclipse Marketplace client) did not work. 第二个选项(通过Eclipse Marketplace客户端)不起作用。 I got this error: "The following solutions are not available: CheckStyle Contributions (id=de.unkrig.cs-contrib.feature.feature.group, site= http://cs-contrib.unkrig.de/update )" 我收到此错误:“以下解决方案不可用:CheckStyle Contributions(id = de.unkrig.cs-contrib.feature.feature.group,site = http://cs-contrib.unkrig.de/update )”

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

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