Hi I finally fixed this issue by adding spring-cloud-openfeign-core which is below

<dependency>
    <groupId>org.springframework.cloud</groupId>
    <artifactId>spring-cloud-openfeign-core</artifactId>
    <version>3.0.2</version>
</dependency>

Resolution:

  1. I found this solution as error came on 4th line of pom file saying "Missing artifact org.springframework.cloud:spring-cloud-openfeign-core:jar:3.0.3-SNAPSHOT" after adding version for spring-cloud-starter-openfeign dependency.

  2. Means Sping is searching for openfeign-core dependency after adding spring-cloud-starter-openfeign

So below is updated pom.xml

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.5.0</version>
        <relativePath /> <!-- lookup parent from repository -->
    </parent>
    <groupId>com.cts</groupId>
    <artifactId>stock</artifactId>
    <version>0.0.1-SNAPSHOT</version>
    <name>stock</name>
    <description>Demo project for Spring Boot</description>
    <properties>
        <java.version>11</java.version>
        <spring-cloud.version>2020.0.3-SNAPSHOT</spring-cloud.version>
    </properties>
    <dependencies>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-data-jpa</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-jdbc</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>

        <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
            <scope>runtime</scope>
        </dependency>
        <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
            <optional>true</optional>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
            <scope>test</scope>
        </dependency>
        <!-- https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-starter-netflix-eureka-client -->
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
            <version>3.0.2</version>
        </dependency>

        <!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-devtools -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-devtools</artifactId>
            <version>2.5.0</version>
        </dependency>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-openfeign</artifactId>
            <version>3.0.2</version>
        </dependency>
        <!-- https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-openfeign-core -->
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-openfeign-core</artifactId>
            <version>3.0.2</version>
        </dependency>





    </dependencies>
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.springframework.cloud</groupId>
                <artifactId>spring-cloud-dependencies</artifactId>
                <version>${spring-cloud.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <configuration>
                    <excludes>
                        <exclude>
                            <groupId>org.projectlombok</groupId>
                            <artifactId>lombok</artifactId>
                        </exclude>
                    </excludes>
                </configuration>
            </plugin>
        </plugins>
    </build>

</project>


Answer from jagan mohan Mylapuru on Stack Overflow
🌐
Maven Repository
mvnrepository.com › artifact › org.springframework.cloud › spring-cloud-starter-openfeign
Maven Repository: org.springframework.cloud » spring-cloud-starter-openfeign
August 21, 2026 - Maven Plugins · Testing · Language Runtime · Android Packages · JVM Languages · Logging Frameworks · JSON Libraries · Java Specifications · Core Utilities · Annotation Libraries · Web Assets · Mocking · HTTP Clients · Concurrency Libraries · Logging Bridges · Dependency Injection · XML Processing · Web Frameworks · I/O Utilities · Code Generators · View All · Home » org.springframework.cloud » spring-cloud-starter-openfeign ·
🌐
Maven Central
central.sonatype.com › artifact › org.springframework.cloud › spring-cloud-starter-openfeign
Maven Central: org.springframework.cloud:spring-cloud-starter-openfeign
<dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-openfeign</artifactId> <version>5.0.3</version> </dependency> ... <?xml version="1.0" encoding="UTF-8"?> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-openfeign</artifactId> <version>5.0.3</version> <relativePath>..</relativePath> </pa
🌐
GitHub
github.com › spring-cloud › spring-cloud-openfeign
GitHub - spring-cloud/spring-cloud-openfeign: Support for using OpenFeign in Spring Cloud apps · GitHub
Other IDEs and tools should also work without issue as long as they use Maven 3.3.3 or better. Spring Cloud projects require the 'spring' Maven profile to be activated to resolve the spring milestone and snapshot repositories.
Author: spring-cloud
🌐
Baeldung
baeldung.com › home › spring › spring cloud › introduction to spring cloud openfeign
Introduction to Spring Cloud OpenFeign | Baeldung
February 19, 2026 - We can find the latest versions of spring-cloud-starter-openfeign and spring-cloud-dependencies on Maven Central.
🌐
Maven Central Repository
search.maven.org › org.springframework.cloud › spring-cloud-starter-openfeign › 2.1.3.release
Maven
<dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-openfeign</artifactId> <version>2.1.3.RELEASE</version> </dependency>
Top answer
1 of 3
11

Hi I finally fixed this issue by adding spring-cloud-openfeign-core which is below

<dependency>
    <groupId>org.springframework.cloud</groupId>
    <artifactId>spring-cloud-openfeign-core</artifactId>
    <version>3.0.2</version>
</dependency>

Resolution:

  1. I found this solution as error came on 4th line of pom file saying "Missing artifact org.springframework.cloud:spring-cloud-openfeign-core:jar:3.0.3-SNAPSHOT" after adding version for spring-cloud-starter-openfeign dependency.

  2. Means Sping is searching for openfeign-core dependency after adding spring-cloud-starter-openfeign

So below is updated pom.xml

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.5.0</version>
        <relativePath /> <!-- lookup parent from repository -->
    </parent>
    <groupId>com.cts</groupId>
    <artifactId>stock</artifactId>
    <version>0.0.1-SNAPSHOT</version>
    <name>stock</name>
    <description>Demo project for Spring Boot</description>
    <properties>
        <java.version>11</java.version>
        <spring-cloud.version>2020.0.3-SNAPSHOT</spring-cloud.version>
    </properties>
    <dependencies>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-data-jpa</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-jdbc</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>

        <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
            <scope>runtime</scope>
        </dependency>
        <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
            <optional>true</optional>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
            <scope>test</scope>
        </dependency>
        <!-- https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-starter-netflix-eureka-client -->
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
            <version>3.0.2</version>
        </dependency>

        <!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-devtools -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-devtools</artifactId>
            <version>2.5.0</version>
        </dependency>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-openfeign</artifactId>
            <version>3.0.2</version>
        </dependency>
        <!-- https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-openfeign-core -->
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-openfeign-core</artifactId>
            <version>3.0.2</version>
        </dependency>





    </dependencies>
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.springframework.cloud</groupId>
                <artifactId>spring-cloud-dependencies</artifactId>
                <version>${spring-cloud.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <configuration>
                    <excludes>
                        <exclude>
                            <groupId>org.projectlombok</groupId>
                            <artifactId>lombok</artifactId>
                        </exclude>
                    </excludes>
                </configuration>
            </plugin>
        </plugins>
    </build>

</project>


2 of 3
1

The last release version is 3.0.2 not 3.0.3 See here https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-starter-openfeign/3.0.2

🌐
Spring
spring.io › projects › spring-cloud-openfeign
Spring Cloud OpenFeign
This project provides OpenFeign integrations for Spring Boot apps through autoconfiguration and binding to the Spring Environment and other Spring programming model idioms.
🌐
GeeksforGeeks
geeksforgeeks.org › java › spring-cloud-openfeign-with-example-project
Spring Cloud - OpenFeign with Example Project - GeeksforGeeks
September 18, 2025 - For Maven: Add this dependency to the pom.xml file. <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-openfeign</artifactId> </dependency> For Gradle: Add the following entries to the build.gradle file.
Find elsewhere
🌐
Maven Central
repo1.maven.org › maven2 › org › springframework › cloud › spring-cloud-starter-openfeign › 3.1.1
Central Repository: org/springframework/cloud/spring-cloud-starter-openfeign/3.1.1
../ spring-cloud-starter-openfeign-3.1.1.jar 2022-02-17 16:54 2614 spring-cloud-starter-openfeign-3.1.1.jar.asc 2022-02-17 16:54 455 spring-cloud-starter-openfeign-3.1.1.jar.md5 2022-02-17 16:54 32 spring-cloud-starter-openfeign-3.1.1.jar.sha1 2022-02-17 16:54 40 spring-cloud-starter-openfeign-3.1.1.pom 2022-02-17 16:54 5121 spring-cloud-starter-openfeign-3.1.1.pom.asc 2022-02-17 16:54 455 spring-cloud-starter-openfeign-3.1.1.pom.md5 2022-02-17 16:54 32 spring-cloud-starter-openfeign-3.1.1.pom.sha1 2022-02-17 16:54 40
🌐
Maven Central
repo.maven.apache.org › maven2 › org › springframework › cloud › spring-cloud-starter-openfeign › 2.2.0.RELEASE
Central Repository: org/springframework/cloud/spring-cloud-starter-openfeign/2.2.0.RELEASE
../ spring-cloud-starter-openfeign-2.2.0.RELEASE.... 2019-11-26 10:13 2824 spring-cloud-starter-openfeign-2.2.0.RELEASE.... 2019-11-26 10:13 455 spring-cloud-starter-openfeign-2.2.0.RELEASE.... 2019-11-26 10:13 32 spring-cloud-starter-openfeign-2.2.0.RELEASE....
🌐
Spring
spring.io › projects › spring-cloud
Spring Cloud
The easiest way to get started is visit start.spring.io, select your Spring Boot version and the Spring Cloud projects you want to use. This will add the corresponding Spring Cloud BOM version to your Maven/Gradle file when you generate the project.
🌐
Java Guides
javaguides.net › 2022 › 11 › spring-cloud-openfeign.html
Spring Cloud OpenFeign Example
April 24, 2023 - <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-openfeign</artifactId> </dependency> Make sure to add spring cloud dependencies and their version. Here is the complete pom.xml file after adding Spring cloud open feign dependency: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.springframework.boot</gro
🌐
Stack Overflow
stackoverflow.com › questions › 73510219 › how-can-i-use-spring-cloud-openfeign-with-spring-boot-3-0-0-m4
How can I use Spring Cloud OpenFeign with Spring Boot 3.0.0-M4? - Stack Overflow
However I would advise on using https://start.spring.io to generate your project stub and maven or gradle files that take care of selecting the correct versions for Spring Cloud modules like Openfeign. Shortened example for build.gradle: plugins { id 'org.springframework.boot' version '3.0.0-M5' id 'io.spring.dependency-management' version '1.0.14.RELEASE' id 'java' } sourceCompatibility = '17' repositories { mavenCentral() maven { url 'https://repo.spring.io/milestone' } } ext { set('springCloudVersion', "2022.0.0-M5") } dependencies { implementation 'org.springframework.cloud:spring-cloud-starter-openfeign' } dependencyManagement { imports { mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}" } } Share ·
🌐
Stack Overflow
stackoverflow.com › questions › 70096036 › spring-cloud-starter-openfeign-throwing-build-resolve-error-for-all-other-depend
maven - spring-cloud-starter-openfeign throwing build/resolve error for all other dependencies when added - Stack Overflow
I am new to Micro-services and was following a course on it. Adding spring-cloud-starter-openfeign maven dependency throws a build error and all the other dependencies start complaining about resolve
🌐
Maven Repository
mvnrepository.com › artifact › org.springframework.cloud › spring-cloud-openfeign › 2.1.0.M1
Maven Repository: org.springframework.cloud » spring-cloud-openfeign » 2.1.0.M1
September 24, 2018 - aar amazon android apache api arm assets build build-system bundle client clojure cloud config cran data database eclipse example extension framework github gradle groovy io ios javascript jvm kotlin library maven mobile module npm osgi plugin resources rlang sdk server service spring sql starter ...
🌐
Spring Cloud
cloud.spring.io › spring-cloud-openfeign › reference › html
Spring Cloud OpenFeign
To include Feign in your project use the starter with group org.springframework.cloud and artifact id spring-cloud-starter-openfeign.
🌐
GitHub
github.com › openfeign › feign
GitHub - OpenFeign/feign: Feign makes writing java http clients easier · GitHub
spring-cloud-openfeign uses OpenFeign 9.* till v2.0.3.RELEASE and uses 10.* after. Anyway, the dependency already has suitable feign-form version, see dependency pom, so you don't need to specify it separately; spring-cloud-starter-feign is a deprecated dependency and it always uses the OpenFeign's 9.* versions.