10.3.1 throwing error of java dependency failed in corporate proxy

0
Hi, Not able to resolve this issue. And it is not coming 9.x versions in same device but in 10.x versions. how to resolve this.   FAILURE: Build failed with an exception. * What went wrong:Execution failed for task ':copyDependencies'.> Could not resolve all files for configuration ':implementation'.   > Could not resolve com.nimbusds:oauth2-oidc-sdk:10.7.1.     Required by:         project :      > Could not resolve com.nimbusds:oauth2-oidc-sdk:10.7.1.         > Could not get resource 'https://repo.maven.apache.org/maven2/com/nimbusds/oauth2-oidc-sdk/10.7.1/oauth2-oidc-sdk-10.7.1.pom'.            > Could not GET 'https://repo.maven.apache.org/maven2/com/nimbusds/oauth2-oidc-sdk/10.7.1/oauth2-oidc-sdk-10.7.1.pom'.               > Connection reset   > Could not resolve org.apache.commons:commons-text:1.10.0.     Required by:         project :      > Could not resolve org.apache.commons:commons-text:1.10.0.         > Could not get resource 'https://repo.maven.apache.org/maven2/org/apache/commons/commons-text/1.10.0/commons-text-1.10.0.pom'.            > Could not GET 'https://repo.maven.apache.org/maven2/org/apache/commons/commons-text/1.10.0/commons-text-1.10.0.pom'.               > Connection reset   > Could not resolve com.google.guava:guava:32.0.1-jre.     Required by:         project :      > Could not resolve com.google.guava:guava:32.0.1-jre.         > Could not get resource 'https://repo.maven.apache.org/maven2/com/google/guava/guava/32.0.1-jre/guava-32.0.1-jre.pom'.            > Could not GET 'https://repo.maven.apache.org/maven2/com/google/guava/guava/32.0.1-jre/guava-32.0.1-jre.pom'.               > Connection reset   > Could not resolve com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer:20211018.2.     Required by:         project :      > Could not resolve com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer:20211018.2.         > Could not get resource 'https://repo.maven.apache.org/maven2/com/googlecode/owasp-java-html-sanitizer/owasp-java-html-sanitizer/20211018.2/owasp-java-html-sanitizer-20211018.2.pom'.            > Could not GET 'https://repo.maven.apache.org/maven2/com/googlecode/owasp-java-html-sanitizer/owasp-java-html-sanitizer/20211018.2/owasp-java-html-sanitizer-20211018.2.pom'.               > Connection reset   > Could not resolve commons-io:commons-io:2.11.0.     Required by:         project :      > Could not resolve commons-io:commons-io:2.11.0.         > Could not get resource 'https://repo.maven.apache.org/maven2/commons-io/commons-io/2.11.0/commons-io-2.11.0.pom'.            > Could not GET 'https://repo.maven.apache.org/maven2/commons-io/commons-io/2.11.0/commons-io-2.11.0.pom'.               > Connection reset   > Could not resolve org.apache.pdfbox:pdfbox:2.0.30.     Required by:         project :      > Could not resolve org.apache.pdfbox:pdfbox:2.0.30.         > Could not get resource 'https://repo.maven.apache.org/maven2/org/apache/pdfbox/pdfbox/2.0.30/pdfbox-2.0.30.pom'.            > Could not GET 'https://repo.maven.apache.org/maven2/org/apache/pdfbox/pdfbox/2.0.30/pdfbox-2.0.30.pom'.               > Connection reset   > Could not resolve org.apache.commons:commons-lang3:3.12.0.     Required by:         project :      > Could not resolve org.apache.commons:commons-lang3:3.12.0.         > Could not get resource 'https://repo.maven.apache.org/maven2/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.pom'.            > Could not GET 'https://repo.maven.apache.org/maven2/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.pom'.               > Connection reset * Try:> Run with --stacktrace option to get the stack trace.> Run with --info or --debug option to get more log output.> Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 1m 10s   Please help. Thanks in advance. kirti 
asked
0 answers