Import-Project-Eclipse-RequireItems-Exception.md 1.0 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
### 现象
- 导入skywalking工程到eclipse,遇到如下异常
- Cannot complete the install because one or more required items could not be found.
  Software being installed: Checkstyle configuration plugin for M2Eclipse 1.0.0.201705301746 (com.basistech.m2e.code.quality.checkstyle.feature.feature.group 
  1.0.0.201705301746)
  Missing requirement: Checkstyle configuration plugin for M2Eclipse 1.0.0.201705301746 (com.basistech.m2e.code.quality.checkstyle.feature.feature.group  
  1.0.0.201705301746) requires 'net.sf.eclipsecs.core 5.2.0' but it could not be found

### 原因
未安装Eclipse Checkstyle Plug-in插件

### 解决方法
用这个地址下载https://sourceforge.net/projects/eclipse-cs/?source=typ_redirect,Eclipse Checkstyle Plug-in 版本号8.7.0.201801131309 插件安装就可以了。
插件说明:
The Eclipse Checkstyle plug-in integrates the Checkstyle Java code auditor into the Eclipse IDE. The plug-in provides real-time feedback to the user about 
violations of rules that check for coding style and possible error prone code constructs.