title: Gradle build is failing [Could not resolve all dependencies for configuration ':compile'.]
body: <p>I am trying for so many days to resolve this exception , followed many blogs and couldn't find  solution. when I run a bundle.gradle by giving jettyRun as command <img src="https://i.stack.imgur.com/5E2OC.jpg" alt="enter image description here"></p>
  
  <pre><code>I am getting an exception 
  
  
  
      **FAILURE: Build failed with an exception.
  
          * What went wrong:
          Could not resolve all dependencies for configuration ':compile'.
          &gt; Could not resolve javax.servlet:servlet-api:2.5.
            Required by:
                :1-SimpleServlet:unspecified
             &gt; Could not GET 'http://repo1.maven.org/maven2/javax/servlet/servlet-api/2.5/servlet-api-2.5.pom'.
                &gt; Connection to http://repo1.maven.org refused
          &gt; Could not resolve org.apache.commons:commons-io:1.3.2.
            Required by:
                :1-SimpleServlet:unspecified
             &gt; Could not GET 'http://repo1.maven.org/maven2/org/apache/commons/commons-io/1.3.2/commons-io-1.3.2.pom'.
                &gt; Connection to http://repo1.maven.org refused**
  </code></pre>