sample-graphql-microservices icon indicating copy to clipboard operation
sample-graphql-microservices copied to clipboard

compile failed

Open zelangchen opened this issue 6 years ago • 1 comments

Failed to execute goal on project employee-service: Could not resolve dependencies for project pl.piomin.services:employee-service:jar:1.0-SNAPSHOT: Could not find artifact com.apollographql.apollo:apollo-runtime:jar:1.0.1-SNAPSHOT in spring-snapshot (https://repo.spring.io/snapshot)

zelangchen avatar Mar 31 '19 12:03 zelangchen

Change jcenter url to https://jcenter.bintray.com

<repositories>
		<repository>
			<id>jcenter</id>
			<name>jcenter</name>
			<url>https://jcenter.bintray.com</url>
		</repository>

</repositories>

And update the dependencies

<!-- https://mvnrepository.com/artifact/com.apollographql.apollo/apollo-runtime -->
<dependency>
    <groupId>com.apollographql.apollo</groupId>
    <artifactId>apollo-runtime</artifactId>
    <version>1.0.1</version>
</dependency>

MehmetNuri avatar Jun 06 '20 16:06 MehmetNuri