Could not resolve all dependencies for configuration "war:jacoco"


(laiduylam) #1

Hi everybody, my project is still running normally, but today project run failed

  • What went wrong:
    A problem occurred evaluating project ‘:jsslogin-war’.

Could not resolve all dependencies for configuration ‘:jsslogin-war:jacoco’.
Could not resolve org.jacoco:org.jacoco.agent:0.5.9.+.
Required by:
jp.co.jss.login:jsslogin-war:1.0-SNAPSHOT
Failed to list versions for org.jacoco:org.jacoco.agent.
Unable to load Maven meta-data from https://repo1.maven.org/maven2/org/jacoco/org.jacoco.agent/maven-metadata.xml.
Could not GET ‘https://repo1.maven.org/maven2/org/jacoco/org.jacoco.agent/maven-metadata.xml’.
peer not authenticated
Failed to list versions for org.jacoco:org.jacoco.agent.
Unable to load Maven meta-data from https://repo1.maven.org/maven2/org/jacoco/org.jacoco.agent/maven-metadata.xml.
Could not GET ‘https://repo1.maven.org/maven2/org/jacoco/org.jacoco.agent/maven-metadata.xml’.
peer not authenticated

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

    I tried many ways but failed, can you help me?