From 43da4e65d9b68ade6b67bf3711f469e7efef3b91 Mon Sep 17 00:00:00 2001 From: hardzhang Date: Sun, 27 May 2018 12:45:19 +0800 Subject: [PATCH] way to solve Import-Project-Eclipse-RequireItems-Exception (#1264) * To bring forward a way to solve Import-Project-Eclipse-RequireItems-Exception * way to solve Import-Project-Eclipse-RequireItems-Exception * To bring forward a way to solve Import-Project-Eclipse-RequireItems-Exception * Required items could not be found, when import project into Eclipse. * using markdown style to quote the errors. --- docs/README.md | 1 + docs/README_ZH.md | 2 +- ...rt-Project-Eclipse-RequireItems-Exception.md | 16 ++++++++++++++++ ...rt-Project-Eclipse-RequireItems-Exception.md | 17 +++++++++++++++++ 4 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 docs/cn/FAQ/Import-Project-Eclipse-RequireItems-Exception.md create mode 100644 docs/en/FAQ/Import-Project-Eclipse-RequireItems-Exception.md diff --git a/docs/README.md b/docs/README.md index c58cdd2c4..df354ec8b 100644 --- a/docs/README.md +++ b/docs/README.md @@ -48,5 +48,6 @@ * [Agent or collector version upgrade](en/FAQ/Upgrade.md) * [Protoc plugin fails in maven build](en/FAQ/Protoc-Plugin-Fails-When-Build.md) * [EnhanceRequireObjectCache class cast exception](en/FAQ/EnhanceRequireObjectCache-Cast-Exception.md) + * [Required items could not be found, when import project into Eclipse](en/FAQ/Import-Project-Eclipse-RequireItems-Exception.md) diff --git a/docs/README_ZH.md b/docs/README_ZH.md index 0381fad01..fed7243d7 100644 --- a/docs/README_ZH.md +++ b/docs/README_ZH.md @@ -45,4 +45,4 @@ * [Kafka消息消费端链路断裂](cn/FAQ/Kafka-plugin-CN.md) * [Protoc-Plugin Maven编译时异常](cn/FAQ/Protoc-Plugin-Fails-When-Build-CN.md) * [EnhanceRequireObjectCache 类转换异常](cn/FAQ/EnhanceRequireObjectCache-Cast-Exception-CN.md) - + * [skywalking导入eclipse依赖项目异常](cn/FAQ/Import-Project-Eclipse-RequireItems-Exception.md) diff --git a/docs/cn/FAQ/Import-Project-Eclipse-RequireItems-Exception.md b/docs/cn/FAQ/Import-Project-Eclipse-RequireItems-Exception.md new file mode 100644 index 000000000..854bb87c3 --- /dev/null +++ b/docs/cn/FAQ/Import-Project-Eclipse-RequireItems-Exception.md @@ -0,0 +1,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. \ No newline at end of file diff --git a/docs/en/FAQ/Import-Project-Eclipse-RequireItems-Exception.md b/docs/en/FAQ/Import-Project-Eclipse-RequireItems-Exception.md new file mode 100644 index 000000000..2be255600 --- /dev/null +++ b/docs/en/FAQ/Import-Project-Eclipse-RequireItems-Exception.md @@ -0,0 +1,17 @@ +### Problem +- Import skywalking project to Eclipse,Occur following errors: +> 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 + +### Reason +Haven't installed Eclipse Checkstyle Plug-in + +### Resolve +Download the plugin through the link:https://sourceforge.net/projects/eclipse-cs/?source=typ_redirect,Eclipse Checkstyle Plug-in version:8.7.0.201801131309 plugin required. +plugin notification: +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. \ No newline at end of file -- GitLab