# Downloading jars from MavenCentral does not work

**URL:** https://discuss.gradle.org/t/downloading-jars-from-mavencentral-does-not-work/11915
**Category:** Help/Discuss
**Created:** [September 29, 2015, 3:59am UTC](https://discuss.gradle.org/t/downloading-jars-from-mavencentral-does-not-work/11915 "2015-09-29T03:59:16Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![vzlatsin](https://avatars.discourse-cdn.com/v4/letter/v/77aa72/32.png) [@vzlatsin](https://discuss.gradle.org/u/vzlatsin)
#### Post date: [September 29, 2015, 3:59am UTC](https://discuss.gradle.org/t/downloading-jars-from-mavencentral-does-not-work/11915/1 "2015-09-29T03:59:16Z")

</div>

I am new to gradle. I have created a simple java project and when I run “gradle build” I get the following errors:

- What went wrong:  
Could not resolve all dependencies for configuration ‘:compile’.

> Could not resolve commons-collections:commons-collections:3.2.  
> Required by:  
> :gradleProject:1.0  
> Could not resolve commons-collections:commons-collections:3.2.  
> Could not get resource ‘[https://repo1.maven.org/maven2/commons-collections/commons-collections/3.2/commons-collections-3.2.pom](https://repo1.maven.org/maven2/commons-collections/commons-collections/3.2/commons-collections-3.2.pom)’.  
> Could not GET ‘[https://repo1.maven.org/maven2/commons-collections/commons-collections/3.2/commons-collections-3.2.pom](https://repo1.maven.org/maven2/commons-collections/commons-collections/3.2/commons-collections-3.2.pom)’.  
> [repo1.maven.org](http://repo1.maven.org)

I have created gradle.properties file:  
systemProp.http.proxyHost=proxyHost  
systemProp.http.proxyPort=8080  
systemProp.http.proxyUser=domain\user  
systemProp.http.proxyPassword=password  
systemProp.http.nonProxyHosts=\*.nonproxyrepos.com|localhost

This did not help. Is there something else that needs to be done?
