Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions