Cannot build spring-boot maven project with auth0

I’m following below tutorial, to create my first oauth0 spring-boot application:

I added the following dependency to the application:

<dependency>
			<groupId>com.okta</groupId>
			<artifactId>okta-spring-boot-starter</artifactId>
			<version>3.0.5</version>
		</dependency>

when building the project, i got below error:
Could not find artifact com.okta:okta-spring-boot-starter:pom:3.0.5 in central
(“https ://repo.maven.apache.org/maven2”)

Is there a different repository for the okta-spring-boot-starter dependency ?

Resolved by changing the groupId of the dependency, as follows:

<dependency>
			<groupId>com.okta.spring</groupId>
			<artifactId>okta-spring-boot-starter</artifactId>
			<version>3.0.5</version>
</dependency>
1 Like

Hi @doaa.farouk07,

Thank you for sharing the solution with the rest of the community!

Dawid

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