Hello team! I deleted my .gradle folder and then t...
# community-support
r
Hello team! I deleted my .gradle folder and then tried to ./gradlew clean build again and I'm having the same error since than... Can you please help me? I can't find a solution 😞 * What went wrong: Could not resolve all dependencies for configuration 'module namedetachedConfiguration1'.
Could not resolve org.springframework.cloudspring cloud dependenciesFinchley.M5.
Required by: project :module-name-1 > Could not resolve org.springframework.cloudspring cloud dependenciesFinchley.M5. > Could not get resource 'https:/repository/maven-public/org/springframework/cloud/spring-cloud-dependencies/Finchley.M5/spring-cloud-dependencies-Finchley.M5.pom'. > Could not HEAD 'https:/repository/maven-public/org/springframework/cloud/spring-cloud-dependencies/Finchley.M5/spring-cloud-dependencies-Finchley.M5.pom'. > URI does not specify a valid host name: https:/repository/maven-public/org/springframework/cloud/spring-cloud-dependencies/Finchley.M5/spring-cloud-dependencies-Finchley.M5.pom > Could not resolve org.springframework.cloudspring cloud dependenciesFinchley.M5. > Could not parse POM https://repo.spring.io/milestone/org/springframework/cloud/spring-cloud-dependencies/Finchley.M5/spring-cloud-dependencies-Finchley.M5.pom > Could not resolve org.springframework.cloudspring cloud aws dependencies2.0.0.M2. > Could not resolve org.springframework.cloudspring cloud aws dependencies2.0.0.M2. > Could not get resource 'https:/repository/maven-public/org/springframework/cloud/spring-cloud-aws-dependencies/2.0.0.M2/spring-cloud-aws-dependencies-2.0.0.M2.pom'. > Could not HEAD 'https:/repository/maven-public/org/springframework/cloud/spring-cloud-aws-dependencies/2.0.0.M2/spring-cloud-aws-dependencies-2.0.0.M2.pom'. > URI does not specify a valid host name: https:/repository/maven-public/org/springframework/cloud/spring-cloud-aws-dependencies/2.0.0.M2/spring-cloud-aws-dependencies-2.0.0.M2.pom > Could not resolve org.springframework.cloudspring cloud aws dependencies2.0.0.M2. > Could not parse POM https://repo.spring.io/milestone/org/springframework/cloud/spring-cloud-aws-dependencies/2.0.0.M2/spring-cloud-aws-dependencies-2.0.0.M2.pom > Could not resolve com.amazonawsaws java sdk bom1.11.125. > Could not resolve com.amazonawsaws java sdk bom1.11.125. > Could not get resource 'https:/repository/maven-public/com/amazonaws/aws-java-sdk-bom/1.11.125/aws-java-sdk-bom-1.11.125.pom'. > Could not GET 'https:/repository/maven-public/com/amazonaws/aws-java-sdk-bom/1.11.125/aws-java-sdk-bom-1.11.125.pom'. > URI does not specify a valid host name: https:/repository/maven-public/com/amazonaws/aws-java-sdk-bom/1.11.125/aws-java-sdk-bom-1.11.125.pom
c
It doesn’t look like there is a Finchley.M5 version on Maven Central: https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-dependencies
Its likely to do with a bad respository URL:
Copy code
URI does not specify a valid host name: https:/repository/maven-public/com/amazonaws/aws-java-sdk-bom/1.11.125/aws-java-sdk-bom-1.11.125.pom
r
I believe that version exists (https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-dependencies/Finchley.M5) anyway, I it looks like the repository is not responding
c
likely due to the bad repo URIs somewhere in your config.
Copy code
RI does not specify a valid host name: https:/repository/maven-public/com/amazonaws/aws-java-sdk-bom/1.11.125/aws-java-sdk-bom-1.11.125.pom
v
Or to say it clearly, add the missing slash. 🙂