# Could not parse Ivy file with XML version "1.1" from cache

**URL:** <https://discuss.gradle.org/t/could-not-parse-ivy-file-with-xml-version-1-1-from-cache/1144>\
**Category:** Old Forum Archive\
**Created:** [December 27, 2013, 7:18am UTC](https://discuss.gradle.org/t/could-not-parse-ivy-file-with-xml-version-1-1-from-cache/1144 "2013-12-27T07:18:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yuriy\_Artamonov](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/yuriy_artamonov/32/323_2.png) [@Yuriy\_Artamonov](https://discuss.gradle.org/u/Yuriy_Artamonov)\
**Post date:** [December 27, 2013, 7:18am UTC](https://discuss.gradle.org/t/could-not-parse-ivy-file-with-xml-version-1-1-from-cache/1144/1 "2013-12-27T07:18:00Z")

</div>

With gradle 1.9-1.10 some of my artifacts could not be resolved:

> Could not resolve org.apache.httpcomponents:httpclient:4.2.2.

> Could not parse POM http://–server-here-/org/apache/httpcomponents/httpclient/4.2.2/httpclient-4.2.2.pom

> Could not resolve org.apache.httpcomponents:httpcomponents-client:4.2.2.

> Could not parse Ivy file file:/cache/gradle/caches/modules-2/metadata-2.1/descriptors/org.apache.httpcomponents/httpcomponents-client/4.2.2/1f44abbd3293c1382c241f317dca02a9/ivy.xml

> unsupported XML version (found “1.1”) (expected “1.0”) OS: Linux

With gradle 1.8 all is ok.

---

<div class="post-metadata">

**Author:** ![bmuschko](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/bmuschko/32/5458_2.png) [@bmuschko](https://discuss.gradle.org/u/bmuschko)\
**Post date:** [January 2, 2014, 2:03pm UTC](https://discuss.gradle.org/t/could-not-parse-ivy-file-with-xml-version-1-1-from-cache/1144/2 "2014-01-02T14:03:00Z")

</div>

This seems to work fine for me with 1.10:

```gradle
repositories {
    mavenCentral()
}
  configurations {
    httpclient
}
  dependencies {
    httpclient 'org.apache.httpcomponents:httpclient:4.2.2'
}
  task copyLibs(type: Copy) {
    from configurations.httpclient
    into "$buildDir/libs"
}

```

What library are you requesting? Are you managing dependencies yourself in an internal binary repository? I think it would be helpful to see your relevant build code.
