使用eclipse indigo中的市场来安装Maven Integration for eclipse.但是在确认所选功能时,无论我选择"Maven Integration for eclipse"还是"slf4j over logback logging",错误仍然存在:无法完成配置操作.请更改您的选择,然后重试.请参阅下文了解详情.
Cannot complete the install because one or more required items could not be found.
Software being installed: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317)
Missing requirement: async-http-client 1.6.5.20130531-2315 (com.ning.async-http-client 1.6.5.20130531-2315) requires 'package org.slf4j 1.6.2' but it could not be found
Cannot satisfy dependency:
From: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317)
To: com.ning.async-http-client [1.6.5.20130531-2315]
Run Code Online (Sandbox Code Playgroud)
类似的错误报告已在这里发布http://marketplace.eclipse.org/content/error/report/955795,仍然未读,是否是eclipse市场的错误,或者我该如何解决这个问题?
我成功安装了Ruby 1.9.1和Nokogiri,但是,当我尝试使用Nokogiri时,我收到以下错误:
uninitialized constant ::Nokogiri
Run Code Online (Sandbox Code Playgroud)
这似乎是因为无法找到Nokogiri宝石.这是我的代码:
File::open("test.html"){|file|
puts file.class => file
page = Nikogiri::HTML(file) => uninitialized constant ::Nokogiri
puts page.class
}
Run Code Online (Sandbox Code Playgroud)
但这有效:
page = Nokogiri::HTML(open("test.html"))
file = open("test.html") => file
page = Nokogiri::HTML(file)
puts page.class => document
Run Code Online (Sandbox Code Playgroud)
你能帮我找出什么问题吗?