|Some error when clone om2m using eclipse [message #1724303]
||Mon, 22 February 2016 23:13
| kaidi wang
Registered: February 2016
I am a fresher in the Java and om2m, and I am now plan to do a project with platform of om2m, but some unexpected error occurred when I cloned the om2m using eclipse. I hope get the solution from here.
I followed the instruction on the OM2M web page to downloaded some required software, and conducted following the step.
After cloning and importing, there is some errors in package, the web page said "If some errors appears on the project, try to update it: Select the package "org.eclipse.om2m" -> right click -> maven -> update Project.",
but after updataing, the package of "org.eclipse.om2m.binding.http" still existed error in stack:
CloseableHttpClient cannot be resolved to a type RestHttpClient.java
HttpClients cannot be resolved RestHttpClient.java
The import org.apache.http.impl.client.CloseableHttpClient cannot be resolved
The import org.apache.http.impl.client.HttpClients cannot be resolved
error resource : RestHttpClient.java
I think it is due to the download of rest client. I did it a simple rest client on google, but I am not clear how it is to do with the error. please forgive maybe is a simple quetion for you guys.
The second question existed in add my plugin in project. when I did the convert to maven project operation, I was supposed to shoose packaging type as eclipse-plugin, BUT this type dosen't exist in my eclipse which is download using the given link on host web page.
I hope you can help me solve this problem. Thank you...
Powered by FUDForum
. Page generated in 0.01477 seconds