# Could not resolve all files for configuration ':benchmarks:classpath'

**URL:** <https://discuss.elastic.co/t/could-not-resolve-all-files-for-configuration-benchmarks-classpath/98368>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [August 25, 2017, 1:09pm UTC](https://discuss.elastic.co/t/could-not-resolve-all-files-for-configuration-benchmarks-classpath/98368 "2017-08-25T13:09:18Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![saliormoon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/saliormoon/32/21499_2.png) [@saliormoon](https://discuss.elastic.co/u/saliormoon)\
**Post date:** [August 25, 2017, 1:09pm UTC](https://discuss.elastic.co/t/could-not-resolve-all-files-for-configuration-benchmarks-classpath/98368/1 "2017-08-25T13:09:18Z")

</div>

elasticsearch version: 5.5.2  
OS: Windows  
When I compile elasticsearch source code with gradle, I encountered a problem, such as:

- What went wrong:  
A problem occurred configuring project ':benchmarks'.

> Could not resolve all files for configuration ':benchmarks:classpath'.  
> Could not resolve com.github.jengelman.gradle.plugins:shadow:1.2.3.  
> Required by:  
> project :benchmarks  
> Could not resolve com.github.jengelman.gradle.plugins:shadow:1.2.3.  
> Could not get resource '[https://plugins.gradle.org/m2/com/github/jeng](https://plugins.gradle.org/m2/com/github/jeng)  
> elman/gradle/plugins/shadow/1.2.3/shadow-1.2.3.pom'.  
> Could not GET '[https://plugins.gradle.org/m2/com/github/jengelman/](https://plugins.gradle.org/m2/com/github/jengelman/)  
> gradle/plugins/shadow/1.2.3/shadow-1.2.3.pom'.  
> sun.security.validator.ValidatorException: PKIX path building f  
> ailed: sun.security.provider.certpath.SunCertPathBuilderException: unable to fin  
> d valid certification path to requested target

Can anyone give me some advice? Thanks a lot.

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [August 25, 2017, 1:19pm UTC](https://discuss.elastic.co/t/could-not-resolve-all-files-for-configuration-benchmarks-classpath/98368/2 "2017-08-25T13:19:41Z")

</div>

Hi,

something is wrong with your certificate configuration in the JDK as indicated by the error message:

```auto
sun.security.validator.ValidatorException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target

```

This [Stackoverflow thread provides some pointers](https://stackoverflow.com/questions/21076179/pkix-path-building-failed-and-unable-to-find-valid-certification-path-to-requ).

Daniel

---

<div class="post-metadata">

**Author:** ![saliormoon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/saliormoon/32/21499_2.png) [@saliormoon](https://discuss.elastic.co/u/saliormoon)\
**Post date:** [August 25, 2017, 1:34pm UTC](https://discuss.elastic.co/t/could-not-resolve-all-files-for-configuration-benchmarks-classpath/98368/3 "2017-08-25T13:34:35Z")

</div>

Well, I'm a newer. Can you say more in detail? Thanks a lot.

---Original---

---

<div class="post-metadata">

**Author:** ![saliormoon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/saliormoon/32/21499_2.png) [@saliormoon](https://discuss.elastic.co/u/saliormoon)\
**Post date:** [August 25, 2017, 1:42pm UTC](https://discuss.elastic.co/t/could-not-resolve-all-files-for-configuration-benchmarks-classpath/98368/4 "2017-08-25T13:42:22Z")

</div>

I have download a SSLPoke.class and run with the command(  
java SSLPoke developer.  
[nrel.gov](http://nrel.gov) 443) in CMD.exe, but it got a error：  
D:\jdk1.8\bin\>java SSLPoke [developer.nrel.gov](http://developer.nrel.gov) 443  
java.net.ConnectException: Connection timed out: connect  
at java.net.DualStackPlainSocketImpl.connect0(Native Method)  
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketI  
mpl.java:79)  
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.ja  
va:350)  
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocket  
Impl.java:206)  
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java  
:188)  
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)  
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)  
at java.net.Socket.connect(Socket.java:589)  
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:673)  
at sun.security.ssl.SSLSocketImpl.(SSLSocketImpl.java:432)  
at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryIm  
pl.java:88)  
at SSLPoke.main(SSLPoke.java:25)  
Can anyone give some advice？

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [August 25, 2017, 1:55pm UTC](https://discuss.elastic.co/t/could-not-resolve-all-files-for-configuration-benchmarks-classpath/98368/5 "2017-08-25T13:55:08Z")

</div>

Hi @saliormoon,

you get:

> [@saliormoon](#):
>
> D:\jdk1.8\bin\>java SSLPoke [developer.nrel.gov](http://developer.nrel.gov) 443  
> java.net.ConnectException: Connection timed out: connect

You cannot even connect to this site from your network and this can have a lot of reasons, e.g. you are behind a proxy and it blocks connections to that host.

I get this when I try to connect with curl:

```auto
daniel@io:~ $ curl -v https://developer.nrel.gov
* Rebuilt URL to: https://developer.nrel.gov/
* Trying 54.164.53.78...
* Connected to developer.nrel.gov (54.164.53.78) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
* Server certificate: developer.nrel.gov
* Server certificate: Let's Encrypt Authority X3
* Server certificate: DST Root CA X3
> GET / HTTP/1.1
> Host: developer.nrel.gov
> User-Agent: curl/7.43.0
> Accept: */*
>
< HTTP/1.1 200 OK

```

So I think you need to fix your (Java?) network issues before-hand.

Daniel

---

<div class="post-metadata">

**Author:** ![saliormoon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/saliormoon/32/21499_2.png) [@saliormoon](https://discuss.elastic.co/u/saliormoon)\
**Post date:** [August 26, 2017, 12:03am UTC](https://discuss.elastic.co/t/could-not-resolve-all-files-for-configuration-benchmarks-classpath/98368/6 "2017-08-26T00:03:03Z")

</div>

Yes, thanks a lot. I can't access external network and have to use Cntlm to configure some proxy settings. So it's maybe that the proxy settings occur errors.

---

<div class="post-metadata">

**Author:** ![saliormoon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/saliormoon/32/21499_2.png) [@saliormoon](https://discuss.elastic.co/u/saliormoon)\
**Post date:** [August 26, 2017, 2:25am UTC](https://discuss.elastic.co/t/could-not-resolve-all-files-for-configuration-benchmarks-classpath/98368/7 "2017-08-26T02:25:07Z")

</div>

This problem has been resolved. Thanks a lot.

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [August 28, 2017, 10:59am UTC](https://discuss.elastic.co/t/could-not-resolve-all-files-for-configuration-benchmarks-classpath/98368/8 "2017-08-28T10:59:50Z")

</div>

Hi @saliormoon,

> [@saliormoon](#):
>
> This problem has been resolved. Thanks a lot.

glad to hear that.

Daniel

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 25, 2017, 10:59am UTC](https://discuss.elastic.co/t/could-not-resolve-all-files-for-configuration-benchmarks-classpath/98368/9 "2017-09-25T10:59:51Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
