Skip to content

"Could not autowire. No beans of 'HelloClient' type found" encountered in feign client example #16

@Roger3581321

Description

@Roger3581321

Hi,
I have encountered an autowired issue when trying to use the feign-eureka example. Here is a piece of code where the error reported by IDEA:
@Autowired
HelloClient client;

Below is a snapshot:
Capture

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions