Apache httpcomponents-client kitaplığını Maven projeme eklemeye çalışıyorum. Pom.xml'ye bir bağımlılık ekledim (http://mvnrepository.com/artifact/org.apache.httpcomponents/httpcomponents-client/4.1.1'da bulundu), ancak Eclipse projemi oluştururken Maven kütüphaneyi bulamıyor ve indiremiyor.Maven, http://support.microsoft.com/en-us/contact/default.html adresinde httpcomponents-client dosyasını bulamıyor
Ben hiçbir şey yapmaz bir test projesi yapılmış ancak sorunlara neden başka ayarlar değil emin olmak için bu kütüphane var: Aynı hata bu proje sonuçlarını Bina
<?xml version="1.0"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>no.gundelsby.test</groupId>
<artifactId>NeedMyPackage</artifactId>
<version>0.1</version>
<dependencies>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcomponents-client</artifactId>
<version>4.1.1</version>
</dependency>
</dependencies>
</project>
. Ben test ettik
diğer şeyler:
vanilya ile-
3.0.3
- arkadaş yerel sorunları ekarte etmek onun bilgisayarında deney projesi inşa Had bilgisayarım
- o aşağıya pom bağımlılık girişine bakın ben org.easytesting.fest-vuruşlarında birkaç gün önce aynı problem vardı ne değer için 4.1
için 4.1.1 sürümünü, Değişen:
<dependency>
<groupId>org.easytesting</groupId>
<artifactId>fest-swing</artifactId>
<version>1.2.1</version>
</dependency>
Evet, bu gerçekten benim sorunumu çözdü. Çok teşekkür ederim :) –
+10 yapabilseydim ... search.maven.org tarafından sağlanan maven bağımlılığını kullanıyordum ve aynı problemi yaşadım. Çekirdek ve istemci artefakt kimliğinden 'bileşenleri-' kaldırdım ve sonra ihtiyacım olan kavanozları elde edebildim! Tekrar teşekkürler! – bakoyaro
Awesomesauce !!! Sorunlarımın birçoğunu çözdüm – nterry