Skip to content

Exception: No qualifying bean of type 'org.springframework.boot.autoconfigure.http.HttpMessageConverters' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: #1229

@pavan1289

Description

@pavan1289

Describe the bug

Exception: No qualifying bean of type 'org.springframework.boot.autoconfigure.http.HttpMessageConverters' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations:

Sample

Currently we are facing above issue while calling runtime objects conversion to call endpoints by using FeignClient / RestClient as well.

  •    <spring-cloud.version>2025.0.0</spring-cloud.version>
    
  •     <io-aws-spring-version>3.4.0</io-aws-spring-version>
    
  •     <spring-boot.version>3.5.4</spring-boot.version>
    

Feign Client :

<groupId>org.springframework.cloud</groupId>
 <artifactId>spring-cloud-openfeign</artifactId>
<version>4.3.0</version>

While initially using Spring Boot 3.5.0, my application suddenly required the property spring.main.allow-bean-definition-overriding=true to start the server. Despite attempting various encoder and decoder techniques, the issue remains unresolved.

Below property now asking mandatory true i don't know what is the reason behind this.

spring :
main:
allow-bean-definition-overriding: true

I thought initially feign client issue I have started using RestClient even though while calling endpoint same issue remain as is .

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions